public class IIOPSubsystemAdd
extends org.jboss.as.controller.AbstractAddStepHandler
This class implements a ModelAddOperationHandler
that installs the IIOP subsystem services:
CorbaORBService
: responsible for configuring and starting the CORBA ORB
.CorbaPOAService
: responsible for creating and activating CORBA POA
s.CorbaNamingService
: responsible for creating and starting the CORBA naming service.ORB
is created, we create and activate the "RootPOA" and then use this POA
to create the
POA
s required by the other services.
Constructor and Description |
---|
IIOPSubsystemAdd(Collection<? extends org.jboss.as.controller.AttributeDefinition> attributes) |
Modifier and Type | Method and Description |
---|---|
protected Properties |
getConfigurationProperties(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode model)
Obtains the subsystem configuration properties from the specified
ModelNode , using default values for undefined
properties. |
protected void |
launchServices(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode model) |
protected void |
performRuntime(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
createResource, createResource, execute, performRuntime, performRuntime, populateModel, populateModel, populateModel, recordCapabilitiesAndRequirements, requiresRuntime, requiresRuntimeVerification, rollbackRuntime, rollbackRuntime
public IIOPSubsystemAdd(Collection<? extends org.jboss.as.controller.AttributeDefinition> attributes)
protected void performRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
performRuntime
in class org.jboss.as.controller.AbstractAddStepHandler
org.jboss.as.controller.OperationFailedException
protected void launchServices(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedException
protected Properties getConfigurationProperties(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
Obtains the subsystem configuration properties from the specified ModelNode
, using default values for undefined
properties. If the property has a IIOP equivalent, it is translated into its IIOP counterpart before being added to
the returned Properties
object.
model
- the ModelNode
that contains the subsystem configuration properties.Properties
instance containing all configured subsystem properties.org.jboss.as.controller.OperationFailedException
- if an error occurs while resolving the properties.Copyright © 2017 JBoss by Red Hat. All rights reserved.