|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.proxy.GenericProxyFactory
A generic factory of java.lang.reflect.Proxy that constructs a proxy that is a composite of ClientContainer/Interceptors/Invoker
| Constructor Summary | |
GenericProxyFactory()
|
|
| Method Summary | |
Object |
createProxy(Object id,
javax.management.ObjectName targetName,
Invoker invoker,
String jndiName,
String proxyBindingName,
ArrayList interceptorClasses,
ClassLoader loader,
Class[] ifaces)
Create a composite proxy for the given interfaces, invoker. |
Object |
createProxy(Object id,
javax.management.ObjectName targetName,
Invoker invoker,
String jndiName,
String proxyBindingName,
ArrayList interceptorClasses,
ClassLoader loader,
Class[] ifaces,
HashMap ctx)
Create a composite proxy for the given interfaces, invoker. |
Object |
createProxy(Object id,
javax.management.ObjectName targetName,
javax.management.ObjectName invokerName,
String jndiName,
String proxyBindingName,
ArrayList interceptorClasses,
ClassLoader loader,
Class[] ifaces)
Create a composite proxy for the given interfaces, invoker. |
protected void |
loadInterceptorChain(ArrayList chain,
ClientContainer client)
The loadInterceptorChain create instances of interceptor classes from the list of classes given by the chain array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GenericProxyFactory()
| Method Detail |
public Object createProxy(Object id,
javax.management.ObjectName targetName,
Invoker invoker,
String jndiName,
String proxyBindingName,
ArrayList interceptorClasses,
ClassLoader loader,
Class[] ifaces)
id - the cache id for the target object if anytargetName - the name of the server side serviceinvoker - the detached invoker stub to embed in the proxyjndiName - the JNDI name the proxy will be bound under if not nullproxyBindingName - the invoker-proxy-binding name if not nullinterceptorClasses - the Class objects for the interceptorsloader - the ClassLoader to associate the the Proxyifaces - the Class objects for the interfaces the Proxy implements
public Object createProxy(Object id,
javax.management.ObjectName targetName,
javax.management.ObjectName invokerName,
String jndiName,
String proxyBindingName,
ArrayList interceptorClasses,
ClassLoader loader,
Class[] ifaces)
id - the cache id for the target object if anytargetName - the name of the server side serviceinvokerName - the name of the server side JMX invokerjndiName - the JNDI name the proxy will be bound under if not nullproxyBindingName - the invoker-proxy-binding name if not nullinterceptorClasses - the Class objects for the interceptorsloader - the ClassLoader to associate the the Proxyifaces - the Class objects for the interfaces the Proxy implements
public Object createProxy(Object id,
javax.management.ObjectName targetName,
Invoker invoker,
String jndiName,
String proxyBindingName,
ArrayList interceptorClasses,
ClassLoader loader,
Class[] ifaces,
HashMap ctx)
id - the cache id for the target object if anytargetName - the name of the server side serviceinvoker - the detached invoker stub to embed in the proxyjndiName - the JNDI name the proxy will be bound under if not nullproxyBindingName - the invoker-proxy-binding name if not nullinterceptorClasses - the Class objects for the interceptorsloader - the ClassLoader to associate the the Proxyifaces - the Class objects for the interfaces the Proxy implementsctx - any context to add the invocation context proxy
protected void loadInterceptorChain(ArrayList chain,
ClientContainer client)
throws Exception
Exception - if an error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||