public class CorbaPOAService extends Object implements org.jboss.msc.service.Service<POA>
This class implements a service that creates and activates org.omg.PortableServer.POA
objects.
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
INTERFACE_REPOSITORY_SERVICE_NAME |
static org.jboss.msc.service.ServiceName |
ROOT_SERVICE_NAME |
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Constructor and Description |
---|
CorbaPOAService(String poaName,
String bindingName)
Creates a
CorbaPOAService with the specified POA name and binding name. |
CorbaPOAService(String poaName,
String bindingName,
IdAssignmentPolicyValue idAssignmentPolicyValue,
IdUniquenessPolicyValue idUniquenessPolicyValue,
ImplicitActivationPolicyValue implicitActivationPolicyValue,
LifespanPolicyValue lifespanPolicyValue,
RequestProcessingPolicyValue requestProcessingPolicyValue,
ServantRetentionPolicyValue servantRetentionPolicyValue,
ThreadPolicyValue threadPolicyValue)
Creates a
CorbaPOAService with the specified POA name, binding name and policy values. |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.inject.Injector<ORB> |
getORBInjector() |
org.jboss.msc.inject.Injector<POA> |
getParentPOAInjector() |
POA |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
public static final org.jboss.msc.service.ServiceName ROOT_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName INTERFACE_REPOSITORY_SERVICE_NAME
public CorbaPOAService(String poaName, String bindingName)
Creates a CorbaPOAService
with the specified POA name and binding name. The POA
created by this
service will not be associated with any policies.
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.public CorbaPOAService(String poaName, String bindingName, IdAssignmentPolicyValue idAssignmentPolicyValue, IdUniquenessPolicyValue idUniquenessPolicyValue, ImplicitActivationPolicyValue implicitActivationPolicyValue, LifespanPolicyValue lifespanPolicyValue, RequestProcessingPolicyValue requestProcessingPolicyValue, ServantRetentionPolicyValue servantRetentionPolicyValue, ThreadPolicyValue threadPolicyValue)
Creates a CorbaPOAService
with the specified POA name, binding name and policy values.
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.public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<POA>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<POA>
public POA getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<POA>
IllegalStateException
IllegalArgumentException
public org.jboss.msc.inject.Injector<ORB> getORBInjector()
public org.jboss.msc.inject.Injector<POA> getParentPOAInjector()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.