org.jboss.ejb3.proxy.impl.invocation
Class InvokableContextStatefulRemoteProxyInvocationHack

java.lang.Object
  extended by org.jboss.aspects.remoting.PojiProxy
      extended by org.jboss.ejb3.proxy.impl.invocation.InvokableContextStatefulRemoteProxyInvocationHack
All Implemented Interfaces:
Serializable, 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

Version:
$Revision: $
Author:
ALR
See Also:
Serialized Form

Constructor Summary
InvokableContextStatefulRemoteProxyInvocationHack(Object oid, String containerGuid, org.jboss.remoting.InvokerLocator uri, org.jboss.aop.advice.Interceptor[] interceptors, Object target)
          Deprecated.  
 
Method Summary
protected  void addArgumentsToInvocation(org.jboss.aop.joinpoint.MethodInvocation invocation, 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(Method method, 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  String getContainerGuid()
          Deprecated.  
protected  Object getTarget()
          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(Object oid,
                                                         String containerGuid,
                                                         org.jboss.remoting.InvokerLocator uri,
                                                         org.jboss.aop.advice.Interceptor[] interceptors,
                                                         Object target)
Deprecated. 
Method Detail

constructMethodInvocation

protected org.jboss.aop.joinpoint.MethodInvocation constructMethodInvocation(Method method,
                                                                             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,
                                        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

getTarget

protected Object getTarget()
Deprecated. 

getContainerGuid

protected String getContainerGuid()
Deprecated. 


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.