| java.lang.Object com.tc.aspectwerkz.proxy.ProxyDelegationStrategy
ProxyDelegationStrategy | public class ProxyDelegationStrategy (Code) | | Get proxy classes from target classes that implement target interfaces and weaves in all matching aspects deployed in
the class loader and defined by the META-INF/aop.xml file.
author: Alexandre Vasseur author: Jonas BonŽr |
Method Summary | |
static Class | getProxyClassFor(String proxyName, Class[] interfaces, boolean useCache, boolean makeAdvisable, SystemDefinition definition) Compile or retrieve from cache a delegation proxy for the given interfaces. | static Object | newInstance(Class[] interfaces, Object[] implementations, boolean useCache, boolean makeAdvisable, SystemDefinition definition) Create a delegation proxy or retrieve it from cache and instantiate it, using the given implementations. |
PROXY_SUFFIX | final public static String PROXY_SUFFIX(Code) | | Suffix for proxy class name. A UUID is further suffixed.
|
getProxyClassFor | static Class getProxyClassFor(String proxyName, Class[] interfaces, boolean useCache, boolean makeAdvisable, SystemDefinition definition)(Code) | | Compile or retrieve from cache a delegation proxy for the given interfaces.
Parameters: proxyName - Parameters: interfaces - Parameters: useCache - Parameters: makeAdvisable - |
newInstance | static Object newInstance(Class[] interfaces, Object[] implementations, boolean useCache, boolean makeAdvisable, SystemDefinition definition)(Code) | | Create a delegation proxy or retrieve it from cache and instantiate it, using the given implementations. Each
implementation must implement the respective given interface.
Parameters: interfaces - Parameters: implementations - Parameters: useCache - Parameters: makeAdvisable - |
|
|