| java.lang.Object org.jboss.proxy.GenericProxyFactory
GenericProxyFactory | public class GenericProxyFactory (Code) | | A generic factory of java.lang.reflect.Proxy that constructs a proxy
that is a composite of ClientContainer/Interceptors/Invoker
author: Scott.Stark@jboss.org version: $Revision: 57209 $ |
Method Summary | |
public Object | createProxy(Object id, ObjectName targetName, Invoker invoker, String jndiName, String proxyBindingName, ArrayList interceptorClasses, ClassLoader loader, Class[] ifaces) Create a composite proxy for the given interfaces, invoker. | public Object | createProxy(Object id, ObjectName targetName, ObjectName invokerName, String jndiName, String proxyBindingName, ArrayList interceptorClasses, ClassLoader loader, Class[] ifaces) Create a composite proxy for the given interfaces, invoker. | public Object | createProxy(Object id, 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. | protected void | loadInterceptorChain(ArrayList chain, ClientContainer client) The loadInterceptorChain create instances of interceptor
classes from the list of classes given by the chain array. |
createProxy | public Object createProxy(Object id, ObjectName targetName, Invoker invoker, String jndiName, String proxyBindingName, ArrayList interceptorClasses, ClassLoader loader, Class[] ifaces)(Code) | | Create a composite proxy for the given interfaces, invoker.
Parameters: id - the cache id for the target object if any Parameters: targetName - the name of the server side service Parameters: invoker - the detached invoker stub to embed in the proxy Parameters: jndiName - the JNDI name the proxy will be bound under if not null Parameters: proxyBindingName - the invoker-proxy-binding name if not null Parameters: interceptorClasses - the Class objects for the interceptors Parameters: loader - the ClassLoader to associate the the Proxy Parameters: ifaces - the Class objects for the interfaces the Proxy implements |
createProxy | public Object createProxy(Object id, ObjectName targetName, ObjectName invokerName, String jndiName, String proxyBindingName, ArrayList interceptorClasses, ClassLoader loader, Class[] ifaces)(Code) | | Create a composite proxy for the given interfaces, invoker.
Parameters: id - the cache id for the target object if any Parameters: targetName - the name of the server side service Parameters: invokerName - the name of the server side JMX invoker Parameters: jndiName - the JNDI name the proxy will be bound under if not null Parameters: proxyBindingName - the invoker-proxy-binding name if not null Parameters: interceptorClasses - the Class objects for the interceptors Parameters: loader - the ClassLoader to associate the the Proxy Parameters: ifaces - the Class objects for the interfaces the Proxy implements |
createProxy | public Object createProxy(Object id, ObjectName targetName, Invoker invoker, String jndiName, String proxyBindingName, ArrayList interceptorClasses, ClassLoader loader, Class[] ifaces, HashMap ctx)(Code) | | Create a composite proxy for the given interfaces, invoker.
Parameters: id - the cache id for the target object if any Parameters: targetName - the name of the server side service Parameters: invoker - the detached invoker stub to embed in the proxy Parameters: jndiName - the JNDI name the proxy will be bound under if not null Parameters: proxyBindingName - the invoker-proxy-binding name if not null Parameters: interceptorClasses - the Class objects for the interceptors Parameters: loader - the ClassLoader to associate the the Proxy Parameters: ifaces - the Class objects for the interfaces the Proxy implements Parameters: ctx - any context to add the invocation context proxy |
loadInterceptorChain | protected void loadInterceptorChain(ArrayList chain, ClientContainer client) throws Exception(Code) | | The loadInterceptorChain create instances of interceptor
classes from the list of classes given by the chain array.
exception: Exception - if an error occurs |
|
|