org.openejb.corba.services.serialization
Class ApplicationServer

java.lang.Object
  |
  +--org.openejb.corba.services.serialization.ApplicationServer
All Implemented Interfaces:
ApplicationServer

public class ApplicationServer
extends java.lang.Object
implements ApplicationServer

This class is used by the serizaliation engine to replace the OpenEJB artifact by the application server corresponding objects.


Constructor Summary
ApplicationServer()
           
 
Method Summary
 javax.ejb.EJBHome getEJBHome(ProxyInfo proxyInfo)
          Replaces the OpenEJB artifact for the Home reference
 javax.ejb.EJBMetaData getEJBMetaData(ProxyInfo proxyInfo)
          Replaces the OpenEJB artifact for the meta data
 javax.ejb.EJBObject getEJBObject(ProxyInfo proxyInfo)
          Replace the OpenEJB artifact for the Object reference
 javax.ejb.Handle getHandle(ProxyInfo proxyInfo)
          Replaces the OpenEJB artifact for the Handle
 void setAdapter(ContainerAdapter adapter)
          This operation is used to set a reference to a container adapter.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationServer

public ApplicationServer()
Method Detail

setAdapter

public void setAdapter(ContainerAdapter adapter)
This operation is used to set a reference to a container adapter. We just need any kind of container adapter.

getEJBMetaData

public javax.ejb.EJBMetaData getEJBMetaData(ProxyInfo proxyInfo)
Replaces the OpenEJB artifact for the meta data
Specified by:
getEJBMetaData in interface ApplicationServer

getHandle

public javax.ejb.Handle getHandle(ProxyInfo proxyInfo)
Replaces the OpenEJB artifact for the Handle
Specified by:
getHandle in interface ApplicationServer

getEJBObject

public javax.ejb.EJBObject getEJBObject(ProxyInfo proxyInfo)
Replace the OpenEJB artifact for the Object reference
Specified by:
getEJBObject in interface ApplicationServer

getEJBHome

public javax.ejb.EJBHome getEJBHome(ProxyInfo proxyInfo)
Replaces the OpenEJB artifact for the Home reference
Specified by:
getEJBHome in interface ApplicationServer