Package org.wildfly.iiop.openjdk.service
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
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNameFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionCorbaPOAService(String poaName, String bindingName, boolean sslOnly) Creates aCorbaPOAServicewith 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 aCorbaPOAServicewith the specified POA name, binding name and policy values. -
Method Summary
-
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
Creates a
CorbaPOAServicewith the specified POA name and binding name. ThePOAcreated by this service will not be associated with any policies.- Parameters:
poaName- the name of thePOAthat will be created by this service (ex. "RootPOA").bindingName- the JNDI context name where the createdPOAwill 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
CorbaPOAServicewith the specified POA name, binding name and policy values.- Parameters:
poaName- the name of thePOAthat will be created by this service (ex. "RootPOA").bindingName- the JNDI context name where the createdPOAwill be bound. If null, the JNDI binding won't be performed.idAssignmentPolicyValue- theIdAssignmentPolicyValuethat will be associated with the createdPOA. Can be null.idUniquenessPolicyValue- theIdUniquenessPolicyValuethat will be associated with the createdPOA. Can be null.implicitActivationPolicyValue- theImplicitActivationPolicyValuethat will be associated with the createdPOA. Can be null.lifespanPolicyValue- theLifespanPolicyValuethat will be associated with the createdPOA. Can be null.requestProcessingPolicyValue- theRequestProcessingPolicyValuethat will be associated with the createdPOA. Can be null.servantRetentionPolicyValue- theServantRetentionPolicyValuethat will be associated with the createdPOA. Can be null.threadPolicyValue- theThreadPolicyValuethat will be associated with the createdPOA. Can be null.
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<org.omg.PortableServer.POA>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getORBInjector
public org.jboss.msc.inject.Injector<org.omg.CORBA.ORB> getORBInjector() -
getParentPOAInjector
public org.jboss.msc.inject.Injector<org.omg.PortableServer.POA> getParentPOAInjector()
-