org.jboss.ejb3.proxy.handler.session.service
Class ServiceRemoteProxyInvocationHandler
java.lang.Object
org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase
org.jboss.ejb3.proxy.handler.session.service.ServiceProxyInvocationHandlerBase
org.jboss.ejb3.proxy.handler.session.service.ServiceRemoteProxyInvocationHandler
- All Implemented Interfaces:
- java.io.Serializable, java.lang.reflect.InvocationHandler, ProxyInvocationHandler, ServiceProxyInvocationHandler, SessionProxyInvocationHandler
public class ServiceRemoteProxyInvocationHandler
- extends ServiceProxyInvocationHandlerBase
- implements java.io.Serializable, ServiceProxyInvocationHandler
ServiceRemoteProxyInvocationHandler
Invocation Handler for Remote view of
a @Service proxy
- See Also:
- Serialized Form
|
Constructor Summary |
ServiceRemoteProxyInvocationHandler(java.lang.String containerName,
java.lang.String containerGuid,
org.jboss.aop.advice.Interceptor[] interceptors,
java.lang.String url)
Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.reflect.InvocationHandler |
invoke |
ServiceRemoteProxyInvocationHandler
public ServiceRemoteProxyInvocationHandler(java.lang.String containerName,
java.lang.String containerGuid,
org.jboss.aop.advice.Interceptor[] interceptors,
java.lang.String url)
- Constructor
- Parameters:
containerName - The name of the target containerurl - The URL to the Remote Hostinterceptors - The interceptors to apply to invocations upon this handler
getContainer
protected InvokableContext getContainer()
- Description copied from class:
ProxyInvocationHandlerBase
- Obtains the Container upon which this Proxy should invoke
- Specified by:
getContainer in class ProxyInvocationHandlerBase
- Returns:
createRemoteProxyToContainer
protected InvokableContext createRemoteProxyToContainer(java.lang.String url)
- Creates and returns a Remoting Proxy to invoke upon the container
This implementation is marked as FIXME as remoting should be an add-on
capability atop ejb3-proxy
- Parameters:
url - The location of the remote host holding the Container
- Returns:
getUrl
public java.lang.String getUrl()
setUrl
public void setUrl(java.lang.String url)