org.jboss.ejb3.proxy.invocation
Class InvokableContextStatefulRemoteProxyInvocationHack

java.lang.Object
  extended by org.jboss.aspects.remoting.PojiProxy
      extended by org.jboss.ejb3.proxy.invocation.InvokableContextStatefulRemoteProxyInvocationHack
All Implemented Interfaces:
java.io.Serializable, java.lang.reflect.InvocationHandler

Deprecated.

@Deprecated
public class InvokableContextStatefulRemoteProxyInvocationHack
extends org.jboss.aspects.remoting.PojiProxy

InvokableContextStatefulRemoteProxyInvocationHack Constructs a Proxy to the Container using an underlying StatefulRemoteInvocation when invocations are made. Looking forward, should be using a more flexible invocation mechanism to handle SFSB, SLSB, etc invocations in an agnostic manner. This is put into place to avoid further refactoring within EJB3 Core

See Also:
Serialized Form

Constructor Summary
InvokableContextStatefulRemoteProxyInvocationHack(java.lang.Object oid, java.lang.String containerGuid, org.jboss.remoting.InvokerLocator uri, org.jboss.aop.advice.Interceptor[] interceptors, java.io.Serializable sessionId)
          Deprecated.  
 
Method Summary
protected  void addArgumentsToInvocation(org.jboss.aop.joinpoint.MethodInvocation invocation, java.lang.Object[] originalArguments)
          Deprecated. Add the target arguments for the invocation itself, not to those initially passed to InvokableContext.invoke()
protected  void addMetadataToInvocation(org.jboss.aop.joinpoint.MethodInvocation methodInvocation)
          Deprecated. Adds a Session ID, if specified, to the invocation metadata
protected  org.jboss.aop.joinpoint.MethodInvocation constructMethodInvocation(java.lang.reflect.Method method, java.lang.Object[] args)
          Deprecated. Constructs a MethodInvocation from the specified Method and arguments This implementation uses a StatefulRemoteInvocation as the underlying Invocation made, in order to support legacy EJB3 Core Containers Additionally will compute the hash of the SerializableMethod passed to InvokableContext.invoke() for handling by the container
protected  java.lang.String getContainerGuid()
          Deprecated.  
protected  java.io.Serializable getSessionId()
          Deprecated.  
 
Methods inherited from class org.jboss.aspects.remoting.PojiProxy
getInterceptors, getOid, getUri, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokableContextStatefulRemoteProxyInvocationHack

public InvokableContextStatefulRemoteProxyInvocationHack(java.lang.Object oid,
                                                         java.lang.String containerGuid,
                                                         org.jboss.remoting.InvokerLocator uri,
                                                         org.jboss.aop.advice.Interceptor[] interceptors,
                                                         java.io.Serializable sessionId)
Deprecated. 
Method Detail

constructMethodInvocation

protected org.jboss.aop.joinpoint.MethodInvocation constructMethodInvocation(java.lang.reflect.Method method,
                                                                             java.lang.Object[] args)
Deprecated. 
Constructs a MethodInvocation from the specified Method and arguments This implementation uses a StatefulRemoteInvocation as the underlying Invocation made, in order to support legacy EJB3 Core Containers Additionally will compute the hash of the SerializableMethod passed to InvokableContext.invoke() for handling by the container

Overrides:
constructMethodInvocation in class org.jboss.aspects.remoting.PojiProxy
Parameters:
method -
args -
Returns:

addMetadataToInvocation

protected void addMetadataToInvocation(org.jboss.aop.joinpoint.MethodInvocation methodInvocation)
Deprecated. 
Adds a Session ID, if specified, to the invocation metadata

Overrides:
addMetadataToInvocation in class org.jboss.aspects.remoting.PojiProxy

addArgumentsToInvocation

protected void addArgumentsToInvocation(org.jboss.aop.joinpoint.MethodInvocation invocation,
                                        java.lang.Object[] originalArguments)
Deprecated. 
Add the target arguments for the invocation itself, not to those initially passed to InvokableContext.invoke()

Overrides:
addArgumentsToInvocation in class org.jboss.aspects.remoting.PojiProxy

getSessionId

protected java.io.Serializable getSessionId()
Deprecated. 

getContainerGuid

protected java.lang.String getContainerGuid()
Deprecated.