|
Invocation API 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.invocation.proxy.ProxyConfiguration<T>
public class ProxyConfiguration<T>
| Constructor Summary | |
|---|---|
ProxyConfiguration()
|
|
| Method Summary | |
|---|---|
ProxyConfiguration<T> |
addAdditionalInterface(Class<?> additionalInterface)
Adds an additional interface the that proxy should implement |
List<Class<?>> |
getAdditionalInterfaces()
|
ClassLoader |
getClassLoader()
|
ReflectionMetadataSource |
getMetadataSource()
|
ProtectionDomain |
getProtectionDomain()
|
String |
getProxyName()
|
Class<T> |
getSuperClass()
|
ProxyConfiguration<T> |
setClassLoader(ClassLoader classLoader)
Sets the class loader that the proxy should be defined in |
ProxyConfiguration<T> |
setMetadataSource(ReflectionMetadataSource metadataSource)
|
ProxyConfiguration<T> |
setProtectionDomain(ProtectionDomain protectionDomain)
|
ProxyConfiguration<T> |
setProxyName(Package pkg,
String simpleName)
Sets the proxy name |
ProxyConfiguration<T> |
setProxyName(String proxyName)
Sets the proxy name |
ProxyConfiguration<T> |
setSuperClass(Class<T> superClass)
Sets the proxy superclass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyConfiguration()
| Method Detail |
|---|
public List<Class<?>> getAdditionalInterfaces()
public ProxyConfiguration<T> addAdditionalInterface(Class<?> additionalInterface)
additionalInterface - The additional interface to add
public ClassLoader getClassLoader()
public ProxyConfiguration<T> setClassLoader(ClassLoader classLoader)
classLoader - The class loader
public ReflectionMetadataSource getMetadataSource()
public ProxyConfiguration<T> setMetadataSource(ReflectionMetadataSource metadataSource)
metadataSource - The reflection metadata source used to generate the proxies
public String getProxyName()
public ProxyConfiguration<T> setProxyName(String proxyName)
proxyName - The fully qualified proxy name
public ProxyConfiguration<T> setProxyName(Package pkg,
String simpleName)
pkg - The package to define the proxy insimpleName - The simple class name
public Class<T> getSuperClass()
public ProxyConfiguration<T> setSuperClass(Class<T> superClass)
superClass - The super class
public ProtectionDomain getProtectionDomain()
public ProxyConfiguration<T> setProtectionDomain(ProtectionDomain protectionDomain)
protectionDomain - The protection domain for the proxy
|
Invocation API 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||