org.jboss.ejb.plugins.jrmp13.server
Class JRMPContainerInvoker

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker
                    |
                    +--org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker
All Implemented Interfaces:
ContainerInvoker, ContainerPlugin, ContainerRemote, java.rmi.Remote, java.io.Serializable, Service, XmlLoadable

public final class JRMPContainerInvoker
extends JRMPContainerInvoker

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

Fields inherited from class org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker
ANONYMOUS_PORT, beanMethodInvokerMap, container, ejbMetaData, home, homeMethodInvokerMap, jndiName, optimize, statelessObject, unicastObjectPort
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface org.jboss.ejb.plugins.jrmp.interfaces.ContainerRemote
startup
 
Constructor Summary
JRMPContainerInvoker()
           
 
Method Summary
 javax.ejb.EJBHome getEJBHome()
          This method is called whenever the EJBHome implementation for this container is needed.
 java.util.Collection getEntityCollection(java.util.Collection ids)
          This method is called whenever a collection of EJBObjects for a collection of primary keys is needed.
 javax.ejb.EJBObject getEntityEJBObject(java.lang.Object id)
          This method is called whenever an EJBObject implementation for an entitybean is needed.
 javax.ejb.EJBObject getStatefulSessionEJBObject(java.lang.Object id)
          This method is called whenever an EJBObject implementation for a stateful session bean is needed.
 javax.ejb.EJBObject getStatelessSessionEJBObject()
          This method is called whenever an EJBObject implementation for a stateless session bean is needed.
 
Methods inherited from class org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker
destroy, getEJBMetaData, importXml, init, invoke, invoke, invokeHome, invokeHome, isOptimized, rebind, setContainer, setOptimized, start, stop
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JRMPContainerInvoker

public JRMPContainerInvoker()
Method Detail

getEJBHome

public javax.ejb.EJBHome getEJBHome()
Description copied from interface: ContainerInvoker
This method is called whenever the EJBHome implementation for this container is needed.
Overrides:
getEJBHome in class JRMPContainerInvoker
Following copied from interface: org.jboss.ejb.ContainerInvoker
Returns:
an implementation of the home interface for this container

getStatelessSessionEJBObject

public javax.ejb.EJBObject getStatelessSessionEJBObject()
Description copied from interface: ContainerInvoker
This method is called whenever an EJBObject implementation for a stateless session bean is needed.
Overrides:
getStatelessSessionEJBObject in class JRMPContainerInvoker
Following copied from interface: org.jboss.ejb.ContainerInvoker
Returns:
an implementation of the remote interface for this container
Throws:
java.rmi.RemoteException - thrown if the EJBObject could not be created

getStatefulSessionEJBObject

public javax.ejb.EJBObject getStatefulSessionEJBObject(java.lang.Object id)
Description copied from interface: ContainerInvoker
This method is called whenever an EJBObject implementation for a stateful session bean is needed.
Overrides:
getStatefulSessionEJBObject in class JRMPContainerInvoker
Following copied from interface: org.jboss.ejb.ContainerInvoker
Parameters:
id - the id of the session
Returns:
an implementation of the remote interface for this container
Throws:
java.rmi.RemoteException - thrown if the EJBObject could not be created

getEntityEJBObject

public javax.ejb.EJBObject getEntityEJBObject(java.lang.Object id)
Description copied from interface: ContainerInvoker
This method is called whenever an EJBObject implementation for an entitybean is needed.
Overrides:
getEntityEJBObject in class JRMPContainerInvoker
Following copied from interface: org.jboss.ejb.ContainerInvoker
Parameters:
id - the primary key of the entity
Returns:
an implementation of the remote interface for this container
Throws:
java.rmi.RemoteException - thrown if the EJBObject could not be created

getEntityCollection

public java.util.Collection getEntityCollection(java.util.Collection ids)
Description copied from interface: ContainerInvoker
This method is called whenever a collection of EJBObjects for a collection of primary keys is needed.
Overrides:
getEntityCollection in class JRMPContainerInvoker
Following copied from interface: org.jboss.ejb.ContainerInvoker
Parameters:
enum - enumeration of primary keys
Returns:
a collection of EJBObjects implementing the remote interface for this container
Throws:
java.rmi.RemoteException - thrown if the EJBObjects could not be created


Copyright © 2000 The jBoss Organization. All Rights Reserved.