Class CorbaPOAService

java.lang.Object
org.wildfly.iiop.openjdk.service.CorbaPOAService
All Implemented Interfaces:
org.jboss.msc.Service, org.jboss.msc.service.Service<org.omg.PortableServer.POA>, org.jboss.msc.value.Value<org.omg.PortableServer.POA>

public class CorbaPOAService extends Object implements org.jboss.msc.service.Service<org.omg.PortableServer.POA>

This class implements a service that creates and activates org.omg.PortableServer.POA objects.

Author:
Stefan Guilhen, Tomasz Adamski
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.jboss.msc.service.ServiceName
     
    static final org.jboss.msc.service.ServiceName
     
    static final org.jboss.msc.service.ServiceName
     

    Fields inherited from interface org.jboss.msc.service.Service

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
    CorbaPOAService(String poaName, String bindingName, boolean sslOnly)
    Creates a CorbaPOAService with the specified POA name and binding name.
    CorbaPOAService(String poaName, String bindingName, boolean sslOnly, org.omg.PortableServer.IdAssignmentPolicyValue idAssignmentPolicyValue, org.omg.PortableServer.IdUniquenessPolicyValue idUniquenessPolicyValue, org.omg.PortableServer.ImplicitActivationPolicyValue implicitActivationPolicyValue, org.omg.PortableServer.LifespanPolicyValue lifespanPolicyValue, org.omg.PortableServer.RequestProcessingPolicyValue requestProcessingPolicyValue, org.omg.PortableServer.ServantRetentionPolicyValue servantRetentionPolicyValue, org.omg.PortableServer.ThreadPolicyValue threadPolicyValue)
    Creates a CorbaPOAService with the specified POA name, binding name and policy values.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jboss.msc.inject.Injector<org.omg.CORBA.ORB>
     
    org.jboss.msc.inject.Injector<org.omg.PortableServer.POA>
     
    org.omg.PortableServer.POA
     
    void
    start(org.jboss.msc.service.StartContext context)
     
    void
    stop(org.jboss.msc.service.StopContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SERVICE_NAME

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

      public static final org.jboss.msc.service.ServiceName ROOT_SERVICE_NAME
    • INTERFACE_REPOSITORY_SERVICE_NAME

      public static final org.jboss.msc.service.ServiceName INTERFACE_REPOSITORY_SERVICE_NAME
  • Constructor Details

    • CorbaPOAService

      public CorbaPOAService(String poaName, String bindingName, boolean sslOnly)

      Creates a CorbaPOAService with the specified POA name and binding name. The POA created by this service will not be associated with any policies.

      Parameters:
      poaName - the name of the POA that will be created by this service (ex. "RootPOA").
      bindingName - the JNDI context name where the created POA will be bound. If null, the JNDI binding won't be performed.
    • CorbaPOAService

      public CorbaPOAService(String poaName, String bindingName, boolean sslOnly, org.omg.PortableServer.IdAssignmentPolicyValue idAssignmentPolicyValue, org.omg.PortableServer.IdUniquenessPolicyValue idUniquenessPolicyValue, org.omg.PortableServer.ImplicitActivationPolicyValue implicitActivationPolicyValue, org.omg.PortableServer.LifespanPolicyValue lifespanPolicyValue, org.omg.PortableServer.RequestProcessingPolicyValue requestProcessingPolicyValue, org.omg.PortableServer.ServantRetentionPolicyValue servantRetentionPolicyValue, org.omg.PortableServer.ThreadPolicyValue threadPolicyValue)

      Creates a CorbaPOAService with the specified POA name, binding name and policy values.

      Parameters:
      poaName - the name of the POA that will be created by this service (ex. "RootPOA").
      bindingName - the JNDI context name where the created POA will be bound. If null, the JNDI binding won't be performed.
      idAssignmentPolicyValue - the IdAssignmentPolicyValue that will be associated with the created POA. Can be null.
      idUniquenessPolicyValue - the IdUniquenessPolicyValue that will be associated with the created POA. Can be null.
      implicitActivationPolicyValue - the ImplicitActivationPolicyValue that will be associated with the created POA. Can be null.
      lifespanPolicyValue - the LifespanPolicyValue that will be associated with the created POA. Can be null.
      requestProcessingPolicyValue - the RequestProcessingPolicyValue that will be associated with the created POA. Can be null.
      servantRetentionPolicyValue - the ServantRetentionPolicyValue that will be associated with the created POA. Can be null.
      threadPolicyValue - the ThreadPolicyValue that will be associated with the created POA. Can be null.
  • Method Details

    • start

      public void start(org.jboss.msc.service.StartContext context) 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

      public org.omg.PortableServer.POA getValue() throws IllegalStateException, IllegalArgumentException
      Specified by:
      getValue in interface org.jboss.msc.value.Value<org.omg.PortableServer.POA>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • getORBInjector

      public org.jboss.msc.inject.Injector<org.omg.CORBA.ORB> getORBInjector()
    • getParentPOAInjector

      public org.jboss.msc.inject.Injector<org.omg.PortableServer.POA> getParentPOAInjector()