org.jboss.ejb3.proxy.handler.session.service
Class ServiceRemoteProxyInvocationHandler

java.lang.Object
  extended by org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase
      extended by org.jboss.ejb3.proxy.handler.session.service.ServiceProxyInvocationHandlerBase
          extended by 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
 
Method Summary
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
protected  InvokableContext getContainer()
          Obtains the Container upon which this Proxy should invoke
 java.lang.String getUrl()
           
 void setUrl(java.lang.String url)
           
 
Methods inherited from class org.jboss.ejb3.proxy.handler.session.service.ServiceProxyInvocationHandlerBase
getAsynchronousProxy, getInvocationHandler, invoke, invokeEquals, invokeHashCode
 
Methods inherited from class org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase
getContainerGuid, getContainerLocally, getContainerName, getInterceptors, handleInvocationDirectly, invoke, setContainerName
 
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
 

Constructor Detail

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 container
url - The URL to the Remote Host
interceptors - The interceptors to apply to invocations upon this handler
Method Detail

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)