| java.lang.Object org.codehaus.aspectwerkz.proxy.ProxyCompiler
ProxyCompiler | public class ProxyCompiler implements TransformationConstants(Code) | | Compiler for the AspectWerkz proxies.
Creates a subclass of the target class and adds delegate methods to all the non-private and non-final
methods/constructors which delegates to the super class.
The annotations are copied.
author: Alexandre Vasseur author: Jonas BonŽr |
compileProxyFor | public static byte[] compileProxyFor(Class clazz, String proxyClassName)(Code) | | Compiles a new proxy for the class specified.
Parameters: clazz - Parameters: proxyClassName - the byte code |
compileProxyFor | public static byte[] compileProxyFor(ClassLoader loader, String className, String proxyClassName)(Code) | | Compiles a new proxy for the class specified.
Parameters: loader - Parameters: className - Parameters: proxyClassName - the byte code |
getProxyResourceAsStream | public static InputStream getProxyResourceAsStream(ClassLoader loader, String proxyClassName)(Code) | | Returns an InputStream that would be the one of the AWproxy for the given proxy class name
Used to read annotations from proxy f.e.
Parameters: loader - Parameters: proxyClassName - or null if not found |
|
|