Class POARegistry

java.lang.Object
org.jboss.as.ejb3.iiop.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 Details

    • SERVICE_NAME

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

      public static final byte[] EMPTY_BYTES
  • Constructor Details

    • POARegistry

      public POARegistry()
  • Method Details

    • 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
    • getValue

      Specified by:
      getValue in interface org.jboss.msc.value.Value<POARegistry>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • getRegistryWithTransientPOAPerServant

      public ServantRegistry getRegistryWithTransientPOAPerServant()
    • getRegistryWithPersistentPOAPerServant

      public ServantRegistry getRegistryWithPersistentPOAPerServant()
    • getRootPOA

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