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

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

public class HomeProxy
extends GenericProxy

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

Fields inherited from class org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy
container, name, optimize, tpcFactory
 
Constructor Summary
HomeProxy()
           
HomeProxy(java.lang.String name, javax.ejb.EJBMetaData ejbMetaData, ContainerRemote container, 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
 

Constructor Detail

HomeProxy

public HomeProxy()

HomeProxy

public HomeProxy(java.lang.String name,
                 javax.ejb.EJBMetaData ejbMetaData,
                 ContainerRemote container,
                 boolean optimize)
Method Detail

invoke

public 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.