org.jboss.errai.codegen
Class ProxyMaker
java.lang.Object
org.jboss.errai.codegen.ProxyMaker
public class ProxyMaker
- extends Object
- Author:
- Mike Brock
Method Summary |
static Statement |
closeProxy(Statement proxyReference,
Statement beanInstance)
|
static Collection<Statement> |
createAllPropertyBindings(Statement proxyRef,
Map<String,ProxyMaker.ProxyProperty> proxyProperties)
|
Collection<Statement> |
getAfterStatements(MetaMethod method)
|
Collection<Statement> |
getAroundInvokeStatements(MetaMethod method)
|
Collection<Statement> |
getBeforeStatements(MetaMethod method)
|
static BuildMetaClass |
makeProxy(MetaClass toProxy,
String privateAccessorType,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements)
|
static BuildMetaClass |
makeProxy(MetaClass toProxy,
String privateAccessorType,
Map<String,ProxyMaker.ProxyProperty> proxyProperties,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements)
|
static BuildMetaClass |
makeProxy(String proxyClassName,
Class cls)
|
static BuildMetaClass |
makeProxy(String proxyClassName,
Class cls,
String privateAccessorType)
|
static BuildMetaClass |
makeProxy(String proxyClassName,
MetaClass toProxy)
|
static BuildMetaClass |
makeProxy(String proxyClassName,
MetaClass toProxy,
String privateAccessorType)
|
static BuildMetaClass |
makeProxy(String proxyClassName,
MetaClass toProxy,
String privateAccessorType,
Map<String,ProxyMaker.ProxyProperty> proxyProperties,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROXY_BIND_METHOD
public static final String PROXY_BIND_METHOD
- See Also:
- Constant Field Values
makeProxy
public static BuildMetaClass makeProxy(String proxyClassName,
Class cls)
makeProxy
public static BuildMetaClass makeProxy(String proxyClassName,
Class cls,
String privateAccessorType)
makeProxy
public static BuildMetaClass makeProxy(String proxyClassName,
MetaClass toProxy)
makeProxy
public static BuildMetaClass makeProxy(String proxyClassName,
MetaClass toProxy,
String privateAccessorType)
makeProxy
public static BuildMetaClass makeProxy(MetaClass toProxy,
String privateAccessorType,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements)
makeProxy
public static BuildMetaClass makeProxy(MetaClass toProxy,
String privateAccessorType,
Map<String,ProxyMaker.ProxyProperty> proxyProperties,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements)
makeProxy
public static BuildMetaClass makeProxy(String proxyClassName,
MetaClass toProxy,
String privateAccessorType,
Map<String,ProxyMaker.ProxyProperty> proxyProperties,
Map<MetaMethod,Map<WeaveType,Collection<Statement>>> weavingStatements)
getAroundInvokeStatements
public Collection<Statement> getAroundInvokeStatements(MetaMethod method)
getBeforeStatements
public Collection<Statement> getBeforeStatements(MetaMethod method)
getAfterStatements
public Collection<Statement> getAfterStatements(MetaMethod method)
closeProxy
public static Statement closeProxy(Statement proxyReference,
Statement beanInstance)
createAllPropertyBindings
public static Collection<Statement> createAllPropertyBindings(Statement proxyRef,
Map<String,ProxyMaker.ProxyProperty> proxyProperties)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.