org.jboss.ejb.plugins.jrmp.interfaces
Class StatefulSessionProxy

java.lang.Object
  |
  +--org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy
        |
        +--org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
StatefulSessionProxy, StatefulSessionProxy

public class StatefulSessionProxy
extends GenericProxy

Version:
$Revision: 1.19 $
Author:
Rickard Öberg (rickard.oberg@telkel.com), Marc Fleury
See Also:
, Serialized Form

Field Summary
protected  java.lang.Object id
           
 
Fields inherited from class org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy
container, name, optimize, tpcFactory
 
Constructor Summary
StatefulSessionProxy()
           
StatefulSessionProxy(java.lang.String name, ContainerRemote container, java.lang.Object id, boolean optimize)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args)
           
 void readExternal(java.io.ObjectInput in)
          Un-externalize this instance.
 void writeExternal(java.io.ObjectOutput out)
          Externalize this instance.
 
Methods inherited from class org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy
addLocal, getCredential, getPrincipal, getTransaction, getTransactionPropagationContext, isLocal, removeLocal, setTPCFactory, setTransactionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.Object id
Constructor Detail

StatefulSessionProxy

public StatefulSessionProxy()

StatefulSessionProxy

public StatefulSessionProxy(java.lang.String name,
                            ContainerRemote container,
                            java.lang.Object id,
                            boolean optimize)
Method Detail

invoke

public final java.lang.Object invoke(java.lang.Object proxy,
                                     java.lang.reflect.Method m,
                                     java.lang.Object[] args)
                              throws java.lang.Throwable

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Description copied from class: GenericProxy
Externalize this instance. If this instance lives in a different VM than its container invoker, the remote interface of the container invoker is not externalized.
Overrides:
writeExternal in class GenericProxy

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Description copied from class: GenericProxy
Un-externalize this instance. If this instance is deserialized in the same VM as its container invoker, the remote interface of the container invoker is restored by looking up the name in the invokers map.
Overrides:
readExternal in class GenericProxy


Copyright © 2000 The JBoss Organization. All Rights Reserved.