|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | 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 | |
java.lang.Object |
createProxy(java.lang.Object id,
ObjectName (src) targetName,
Invoker (src) invoker,
java.lang.String jndiName,
java.lang.String proxyBindingName,
java.util.ArrayList interceptorClasses,
java.lang.ClassLoader loader,
java.lang.Class[] ifaces)
Create a composite proxy for the given interfaces, invoker. |
java.lang.Object |
createProxy(java.lang.Object id,
ObjectName (src) targetName,
Invoker (src) invoker,
java.lang.String jndiName,
java.lang.String proxyBindingName,
java.util.ArrayList interceptorClasses,
java.lang.ClassLoader loader,
java.lang.Class[] ifaces,
java.util.HashMap ctx)
Create a composite proxy for the given interfaces, invoker. |
java.lang.Object |
createProxy(java.lang.Object id,
ObjectName (src) targetName,
ObjectName (src) invokerName,
java.lang.String jndiName,
java.lang.String proxyBindingName,
java.util.ArrayList interceptorClasses,
java.lang.ClassLoader loader,
java.lang.Class[] ifaces)
Create a composite proxy for the given interfaces, invoker. |
protected void |
loadInterceptorChain(java.util.ArrayList chain,
ClientContainer (src) 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 java.lang.Object createProxy(java.lang.Object id, ObjectName (src) targetName, Invoker (src) invoker, java.lang.String jndiName, java.lang.String proxyBindingName, java.util.ArrayList interceptorClasses, java.lang.ClassLoader loader, java.lang.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 implementspublic java.lang.Object createProxy(java.lang.Object id, ObjectName (src) targetName, ObjectName (src) invokerName, java.lang.String jndiName, java.lang.String proxyBindingName, java.util.ArrayList interceptorClasses, java.lang.ClassLoader loader, java.lang.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 implementspublic java.lang.Object createProxy(java.lang.Object id, ObjectName (src) targetName, Invoker (src) invoker, java.lang.String jndiName, java.lang.String proxyBindingName, java.util.ArrayList interceptorClasses, java.lang.ClassLoader loader, java.lang.Class[] ifaces, java.util.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 proxyprotected void loadInterceptorChain(java.util.ArrayList chain, ClientContainer (src) client) throws java.lang.Exception
java.lang.Exception
- if an error occurs
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |