Package org.wildfly.iiop.openjdk
Class IIOPSubsystemAdd
- java.lang.Object
-
- org.jboss.as.controller.AbstractAddStepHandler
-
- org.jboss.as.controller.AbstractBoottimeAddStepHandler
-
- org.wildfly.iiop.openjdk.IIOPSubsystemAdd
-
- All Implemented Interfaces:
org.jboss.as.controller.OperationDescriptor,org.jboss.as.controller.OperationStepHandler
public class IIOPSubsystemAdd extends org.jboss.as.controller.AbstractBoottimeAddStepHandlerThis class implements a
ModelAddOperationHandlerthat installs the IIOP subsystem services:CorbaORBService: responsible for configuring and starting the CORBAORB.CorbaPOAService: responsible for creating and activating CORBAPOAs.CorbaNamingService: responsible for creating and starting the CORBA naming service.
ORBis created, we create and activate the "RootPOA" and then use thisPOAto create thePOAs required by the other services.- Author:
- Stefan Guilhen, Tomasz Adamski
-
-
Constructor Summary
Constructors Constructor Description IIOPSubsystemAdd(Collection<? extends org.jboss.as.controller.AttributeDefinition> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PropertiesgetConfigurationProperties(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)Obtains the subsystem configuration properties from the specifiedModelNode, using default values for undefined properties.protected voidlaunchServices(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)protected voidperformBoottime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)protected voidpopulateModel(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.registry.Resource resource)protected voidrecordCapabilitiesAndRequirements(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.registry.Resource resource)-
Methods inherited from class org.jboss.as.controller.AbstractBoottimeAddStepHandler
performBoottime, performRuntime, rollbackRuntime
-
-
-
-
Constructor Detail
-
IIOPSubsystemAdd
public IIOPSubsystemAdd(Collection<? extends org.jboss.as.controller.AttributeDefinition> attributes)
-
-
Method Detail
-
performBoottime
protected void performBoottime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException- Overrides:
performBoottimein classorg.jboss.as.controller.AbstractBoottimeAddStepHandler- Throws:
org.jboss.as.controller.OperationFailedException
-
populateModel
protected void populateModel(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.registry.Resource resource) throws org.jboss.as.controller.OperationFailedException- Overrides:
populateModelin classorg.jboss.as.controller.AbstractAddStepHandler- Throws:
org.jboss.as.controller.OperationFailedException
-
recordCapabilitiesAndRequirements
protected void recordCapabilitiesAndRequirements(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.registry.Resource resource) throws org.jboss.as.controller.OperationFailedException- Overrides:
recordCapabilitiesAndRequirementsin classorg.jboss.as.controller.AbstractAddStepHandler- Throws:
org.jboss.as.controller.OperationFailedException
-
launchServices
protected void launchServices(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException- Throws:
org.jboss.as.controller.OperationFailedException
-
getConfigurationProperties
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 returnedPropertiesobject.- Parameters:
model- theModelNodethat contains the subsystem configuration properties.- Returns:
- a
Propertiesinstance containing all configured subsystem properties. - Throws:
org.jboss.as.controller.OperationFailedException- if an error occurs while resolving the properties.
-
-