public class EjbCorbaServant extends Servant implements InvokeHandler, LocalIIOPInvoker
EJBObject
s of a given bean. An
instance of this class "implements" the bean's set of EJBObject
instances by forwarding to the bean container all IIOP invocations on any
of the bean's EJBObject
s.Constructor and Description |
---|
EjbCorbaServant(Current poaCurrent,
Map<String,SkeletonStrategy> methodInvokerMap,
String[] repositoryIds,
InterfaceDef interfaceDef,
ORB orb,
ComponentView componentView,
org.jboss.marshalling.MarshallerFactory factory,
org.jboss.marshalling.MarshallingConfiguration configuration,
TransactionManager transactionManager,
ClassLoader classLoader,
boolean home,
String securityDomain)
Constructs an
EjbObjectCorbaServant> . |
Modifier and Type | Method and Description |
---|---|
String[] |
_all_interfaces(POA poa,
byte[] objectId)
Returns an array with the CORBA repository ids of the RMI-IDL interfaces
implemented by this servant's
EJBObject s. |
Object |
_get_interface_def()
Returns an IR object describing the bean's remote interface.
|
OutputStream |
_invoke(String opName,
InputStream in,
ResponseHandler handler)
Receives IIOP requests to this servant's
EJBObject s
and forwards them to the bean container, through the JBoss
MBean server. |
Object |
invoke(String opName,
Object[] arguments,
Transaction tx,
Principal identity,
Object credential)
Receives intra-VM invocations on this servant's
EJBObject s
and forwards them to the bean container, through the JBoss
MBean
server. |
void |
setEjbMetaData(javax.ejb.EJBMetaData ejbMetaData) |
void |
setHomeHandle(javax.ejb.HomeHandle homeHandle) |
_default_POA, _get_delegate, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
public EjbCorbaServant(Current poaCurrent, Map<String,SkeletonStrategy> methodInvokerMap, String[] repositoryIds, InterfaceDef interfaceDef, ORB orb, ComponentView componentView, org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration configuration, TransactionManager transactionManager, ClassLoader classLoader, boolean home, String securityDomain)
EjbObjectCorbaServant>
.public Object _get_interface_def()
_get_interface_def
in class Servant
public String[] _all_interfaces(POA poa, byte[] objectId)
EJBObject
s._all_interfaces
in class Servant
public OutputStream _invoke(String opName, InputStream in, ResponseHandler handler)
EJBObject
s
and forwards them to the bean container, through the JBoss
MBean
server._invoke
in interface InvokeHandler
public Object invoke(String opName, Object[] arguments, Transaction tx, Principal identity, Object credential) throws Exception
EJBObject
s
and forwards them to the bean container, through the JBoss
MBean
server.invoke
in interface LocalIIOPInvoker
Exception
public void setHomeHandle(javax.ejb.HomeHandle homeHandle)
public void setEjbMetaData(javax.ejb.EJBMetaData ejbMetaData)
Copyright © 2016 JBoss by Red Hat. All rights reserved.