Package org.proxy4j.core.util
Class DefaultNamingPolicy
- java.lang.Object
-
- org.proxy4j.core.util.DefaultNamingPolicy
-
- All Implemented Interfaces:
NamingPolicy
public class DefaultNamingPolicy extends Object implements NamingPolicy
A default implementation of
NamingPolicy.- Author:
- Brennan Spies
-
-
Constructor Summary
Constructors Constructor Description DefaultNamingPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProxyName(String baseClassName, Object key)Returns the generated proxy class name based on the given type and the key.
-
-
-
Method Detail
-
getProxyName
public String getProxyName(String baseClassName, Object key)
Description copied from interface:NamingPolicyReturns the generated proxy class name based on the given type and the key.- Specified by:
getProxyNamein interfaceNamingPolicy- Parameters:
baseClassName- The fully-qualified name of the proxy supertype (null if none given)key- The lookup key for the proxy class- Returns:
- The name of the proxy class
-
-