| java.lang.Object com.tc.aspectwerkz.proxy.ProxySubclassingStrategy
ProxySubclassingStrategy | public class ProxySubclassingStrategy (Code) | | Get proxy classes from target classes and weaves in all matching aspects deployed in the class loader
and defined by the META-INF/aop.xml file.
author: Jonas BonŽr |
Field Summary | |
final public static String | PROXY_SUFFIX The suffix for the compiled proxy classes. |
Method Summary | |
static Class | getProxyClassFor(Class clazz, boolean useCache, boolean makeAdvisable, SystemDefinition definition) Compiles and returns a proxy class for the class specified.
Parameters: clazz - the target class to make a proxy for Parameters: useCache - true if a cached instance of the proxy classed should be used Parameters: makeAdvisable - true if the proxy class should implement the Advisable interface,e.g. | static String | getUniqueClassNameFromProxy(String proxyClassName) Returns a unique name for the proxy class. | static Object | newInstance(Class clazz, SystemDefinition definition) Creates a new proxy instance based for the class specified and instantiates it using its default no-argument
constructor. | static Object | newInstance(Class clazz, Class[] argumentTypes, Object[] argumentValues, SystemDefinition definition) Creates a new proxy instance for the class specified and instantiates it using the constructor matching
the argument type array specified. | static Object | newInstance(Class clazz, boolean useCache, boolean makeAdvisable, SystemDefinition definition) Creates a new proxy instance based for the class specified and instantiates it using its default no-argument
constructor.
Parameters: clazz - the target class to make a proxy for Parameters: useCache - true if a cached instance of the proxy classed should be used Parameters: makeAdvisable - true if the proxy class should implement the Advisable interface,e.g. | static Object | newInstance(Class clazz, Class[] argumentTypes, Object[] argumentValues, boolean useCache, boolean makeAdvisable, SystemDefinition definition) Creates a new proxy instance for the class specified and instantiates it using the constructor matching
the argument type array specified.
Parameters: clazz - the target class to make a proxy for Parameters: argumentTypes - the argument types matching the signature of the constructor to use when instantiating the proxy Parameters: argumentValues - the argument values to use when instantiating the proxy Parameters: useCache - true if a cached instance of the proxy classed should be used Parameters: makeAdvisable - true if the proxy class should implement the Advisable interface,e.g. |
PROXY_SUFFIX | final public static String PROXY_SUFFIX(Code) | | The suffix for the compiled proxy classes.
|
getProxyClassFor | static Class getProxyClassFor(Class clazz, boolean useCache, boolean makeAdvisable, SystemDefinition definition)(Code) | | Compiles and returns a proxy class for the class specified.
Parameters: clazz - the target class to make a proxy for Parameters: useCache - true if a cached instance of the proxy classed should be used Parameters: makeAdvisable - true if the proxy class should implement the Advisable interface,e.g. be prepared for programmatic, runtime, per instance hot deployement of advice the proxy class |
getUniqueClassNameFromProxy | static String getUniqueClassNameFromProxy(String proxyClassName)(Code) | | Returns a unique name for the proxy class.
Parameters: proxyClassName - the class name beeing proxied |
newInstance | static Object newInstance(Class clazz, SystemDefinition definition)(Code) | | Creates a new proxy instance based for the class specified and instantiates it using its default no-argument
constructor. The proxy will be cached and non-advisable.
Parameters: clazz - the target class to make a proxy for the proxy instance |
newInstance | static Object newInstance(Class clazz, Class[] argumentTypes, Object[] argumentValues, SystemDefinition definition)(Code) | | Creates a new proxy instance for the class specified and instantiates it using the constructor matching
the argument type array specified.
The proxy will be cached and non-advisable.
Parameters: clazz - the target class to make a proxy for Parameters: argumentTypes - the argument types matching the signature of the constructor to use when instantiating the proxy Parameters: argumentValues - the argument values to use when instantiating the proxy the proxy instance |
newInstance | static Object newInstance(Class clazz, boolean useCache, boolean makeAdvisable, SystemDefinition definition)(Code) | | Creates a new proxy instance based for the class specified and instantiates it using its default no-argument
constructor.
Parameters: clazz - the target class to make a proxy for Parameters: useCache - true if a cached instance of the proxy classed should be used Parameters: makeAdvisable - true if the proxy class should implement the Advisable interface,e.g. be prepared for programmatic, runtime, per instance hot deployement of advice the proxy instance |
newInstance | static Object newInstance(Class clazz, Class[] argumentTypes, Object[] argumentValues, boolean useCache, boolean makeAdvisable, SystemDefinition definition)(Code) | | Creates a new proxy instance for the class specified and instantiates it using the constructor matching
the argument type array specified.
Parameters: clazz - the target class to make a proxy for Parameters: argumentTypes - the argument types matching the signature of the constructor to use when instantiating the proxy Parameters: argumentValues - the argument values to use when instantiating the proxy Parameters: useCache - true if a cached instance of the proxy classed should be used Parameters: makeAdvisable - true if the proxy class should implement the Advisable interface,e.g. be prepared for programmatic, runtime, per instance hot deployement of advice the proxy instance |
|
|