Class EjbCorbaServant

  • All Implemented Interfaces:
    LocalIIOPInvoker, org.omg.CORBA.portable.InvokeHandler

    public class EjbCorbaServant
    extends org.omg.PortableServer.Servant
    implements org.omg.CORBA.portable.InvokeHandler, LocalIIOPInvoker
    CORBA servant class for the EJBObjects 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 EJBObjects.
    Author:
    Francisco Reverbel, Stuart Douglas
    • Constructor Summary

      Constructors 
      Constructor Description
      EjbCorbaServant​(org.omg.PortableServer.Current poaCurrent, Map<String,​SkeletonStrategy> methodInvokerMap, String[] repositoryIds, org.omg.CORBA.InterfaceDef interfaceDef, org.omg.CORBA.ORB orb, ComponentView componentView, org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration configuration, jakarta.transaction.TransactionManager transactionManager, ClassLoader classLoader, boolean home, String legacySecurityDomain, org.wildfly.security.auth.server.SecurityDomain securityDomain)
      Constructs an EjbObjectCorbaServant>.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String[] _all_interfaces​(org.omg.PortableServer.POA poa, byte[] objectId)
      Returns an array with the CORBA repository ids of the RMI-IDL interfaces implemented by this servant's EJBObjects.
      org.omg.CORBA.Object _get_interface_def()
      Returns an IR object describing the bean's remote interface.
      org.omg.CORBA.portable.OutputStream _invoke​(String opName, org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler handler)
      Receives IIOP requests to this servant's EJBObjects and forwards them to the bean container, through the JBoss MBean server.
      Object invoke​(String opName, Object[] arguments, jakarta.transaction.Transaction tx, Principal identity, Object credential)
      Receives intra-VM invocations on this servant's EJBObjects and forwards them to the bean container, through the JBoss MBean server.
      void setEjbMetaData​(jakarta.ejb.EJBMetaData ejbMetaData)  
      void setHomeHandle​(jakarta.ejb.HomeHandle homeHandle)  
      • Methods inherited from class org.omg.PortableServer.Servant

        _default_POA, _get_delegate, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
    • Constructor Detail

      • EjbCorbaServant

        public EjbCorbaServant​(org.omg.PortableServer.Current poaCurrent,
                               Map<String,​SkeletonStrategy> methodInvokerMap,
                               String[] repositoryIds,
                               org.omg.CORBA.InterfaceDef interfaceDef,
                               org.omg.CORBA.ORB orb,
                               ComponentView componentView,
                               org.jboss.marshalling.MarshallerFactory factory,
                               org.jboss.marshalling.MarshallingConfiguration configuration,
                               jakarta.transaction.TransactionManager transactionManager,
                               ClassLoader classLoader,
                               boolean home,
                               String legacySecurityDomain,
                               org.wildfly.security.auth.server.SecurityDomain securityDomain)
        Constructs an EjbObjectCorbaServant>.
    • Method Detail

      • _get_interface_def

        public org.omg.CORBA.Object _get_interface_def()
        Returns an IR object describing the bean's remote interface.
        Overrides:
        _get_interface_def in class org.omg.PortableServer.Servant
      • _all_interfaces

        public String[] _all_interfaces​(org.omg.PortableServer.POA poa,
                                        byte[] objectId)
        Returns an array with the CORBA repository ids of the RMI-IDL interfaces implemented by this servant's EJBObjects.
        Specified by:
        _all_interfaces in class org.omg.PortableServer.Servant
      • _invoke

        public org.omg.CORBA.portable.OutputStream _invoke​(String opName,
                                                           org.omg.CORBA.portable.InputStream in,
                                                           org.omg.CORBA.portable.ResponseHandler handler)
        Receives IIOP requests to this servant's EJBObjects and forwards them to the bean container, through the JBoss MBean server.
        Specified by:
        _invoke in interface org.omg.CORBA.portable.InvokeHandler
      • invoke

        public Object invoke​(String opName,
                             Object[] arguments,
                             jakarta.transaction.Transaction tx,
                             Principal identity,
                             Object credential)
                      throws Exception
        Receives intra-VM invocations on this servant's EJBObjects and forwards them to the bean container, through the JBoss MBean server.
        Specified by:
        invoke in interface LocalIIOPInvoker
        Throws:
        Exception
      • setHomeHandle

        public void setHomeHandle​(jakarta.ejb.HomeHandle homeHandle)
      • setEjbMetaData

        public void setEjbMetaData​(jakarta.ejb.EJBMetaData ejbMetaData)