org.apache.geronimo.corba
Class StandardServant

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.apache.geronimo.corba.StandardServant
All Implemented Interfaces:
InvokeHandler

public class StandardServant
extends Servant
implements InvokeHandler


Constructor Summary
StandardServant(ORB orb, org.apache.openejb.InterfaceType ejbInterfaceType, EjbDeployment ejbDeployment)
           
StandardServant(ORB orb, org.apache.openejb.InterfaceType ejbInterfaceType, EjbDeployment ejbDeployment, Object primaryKey)
           
 
Method Summary
 String[] _all_interfaces(POA poa, byte[] objectId)
           
 OutputStream _invoke(String operationName, InputStream _in, ResponseHandler reply)
           
protected  Object createProxy(Object retValue)
          Convert ProxyInfo items in a create* or find* result for returning as a corba result.
 EjbDeployment getEjbDeployment()
           
 org.apache.openejb.InterfaceType getInterfaceType()
           
 Object getPrimaryKey()
           
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardServant

public StandardServant(ORB orb,
                       org.apache.openejb.InterfaceType ejbInterfaceType,
                       EjbDeployment ejbDeployment)

StandardServant

public StandardServant(ORB orb,
                       org.apache.openejb.InterfaceType ejbInterfaceType,
                       EjbDeployment ejbDeployment,
                       Object primaryKey)
Method Detail

getInterfaceType

public org.apache.openejb.InterfaceType getInterfaceType()

getEjbDeployment

public EjbDeployment getEjbDeployment()

getPrimaryKey

public Object getPrimaryKey()

_all_interfaces

public String[] _all_interfaces(POA poa,
                                byte[] objectId)
Specified by:
_all_interfaces in class Servant

_invoke

public OutputStream _invoke(String operationName,
                            InputStream _in,
                            ResponseHandler reply)
                     throws SystemException
Specified by:
_invoke in interface InvokeHandler
Throws:
SystemException

createProxy

protected Object createProxy(Object retValue)
                      throws Throwable
Convert ProxyInfo items in a create* or find* result for returning as a corba result.

Parameters:
retValue - The return value.
Returns:
A CORBA compatible return result.
Throws:
Throwable


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.