Class POARegistry

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<POARegistry>, org.jboss.msc.value.Value<POARegistry>

    public class POARegistry
    extends Object
    implements org.jboss.msc.service.Service<POARegistry>
    Registry that maintains 2 different servant registries

    • a ServantRegistry with a transient POA per servant;
    • a ServantRegistry with persistent POA per servant.

    CORBA servants registered with any of these ServantRegistry instances will receive IIOP invocations.

    Author:
    Francisco Reverbel
    • Field Detail

      • SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName SERVICE_NAME
      • EMPTY_BYTES

        public static final byte[] EMPTY_BYTES
    • Constructor Detail

      • POARegistry

        public POARegistry()
    • Method Detail

      • start

        public void start​(org.jboss.msc.service.StartContext startContext)
                   throws org.jboss.msc.service.StartException
        Specified by:
        start in interface org.jboss.msc.Service
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service
      • getRegistryWithTransientPOAPerServant

        public ServantRegistry getRegistryWithTransientPOAPerServant()
      • getRegistryWithPersistentPOAPerServant

        public ServantRegistry getRegistryWithPersistentPOAPerServant()
      • getRootPOA

        public org.jboss.msc.value.InjectedValue<org.omg.PortableServer.POA> getRootPOA()