org.openejb.ri.server
Class EjbHomeProcessor

java.lang.Object
  |
  +--org.openejb.ri.server.EjbHomeProcessor

public class EjbHomeProcessor
extends java.lang.Object

Represents the EJB Server's responsibility in handling methods that are declared in the javax.ejb.EJBHome interface.

See Also:
EJBHome

Constructor Summary
EjbHomeProcessor()
           
 
Method Summary
protected static java.lang.Object getEJBMetaData(MethodInvocation mi)
          Creates and returns the EJB Server specific meta data for the deployed bean.
protected static java.lang.Object getHomeHandle()
          Creates and returns an EJB Server specific handle to the bean's server specific EJBHome object.
static java.lang.Object processMethod(MethodInvocation mi, Server server)
          Internally processes the getEJBMetaData, getHomeHandle and remove methods from the EJBHome proxy.
protected static java.lang.Object remove(MethodInvocation mi, Server server)
          Invokes the remove method on the OpenEJB container system using the information in the EJB Server specific javax.ejb.Home implementation or the specific information the server has about the client.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbHomeProcessor

public EjbHomeProcessor()
Method Detail

processMethod

public static java.lang.Object processMethod(MethodInvocation mi,
                                             Server server)
                                      throws OpenEJBException
Internally processes the getEJBMetaData, getHomeHandle and remove methods from the EJBHome proxy.
Parameters:
mi -  
server -  
Returns:
 
Throws:
OpenEJBException -  

getEJBMetaData

protected static java.lang.Object getEJBMetaData(MethodInvocation mi)
Creates and returns the EJB Server specific meta data for the deployed bean.
Parameters:
mi -  
Returns:
a new instance of RiMetaData

getHomeHandle

protected static java.lang.Object getHomeHandle()
Creates and returns an EJB Server specific handle to the bean's server specific EJBHome object. This implementation creates and returns a new instance of RiBaseHandle
Returns:
a new instance of RiBaseHandle

remove

protected static java.lang.Object remove(MethodInvocation mi,
                                         Server server)
                                  throws OpenEJBException
Invokes the remove method on the OpenEJB container system using the information in the EJB Server specific javax.ejb.Home implementation or the specific information the server has about the client.
Parameters:
mi -  
server -  
Returns:
null
Throws:
OpenEJBException -