Class RestartParentResourceRegistrar
java.lang.Object
org.jboss.as.clustering.controller.ResourceRegistrar
org.jboss.as.clustering.controller.RestartParentResourceRegistrar
- All Implemented Interfaces:
ManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>
Registers a
RestartParentResourceAddStepHandler, RestartParentResourceRemoveStepHandler, and RestartParentResourceWriteAttributeHandler on behalf of a resource definition.
Users of this class should ensure that the ResourceServiceConfigurator returned by the specified factory sets the appropriate initial mode of the parent service it configures.
Neglecting to do this may result in use of the default initial mode (i.e. ACTIVE), which would result in the parent service starting inadvertently.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionRestartParentResourceRegistrar(ResourceServiceConfiguratorFactory parentFactory, ResourceDescriptor descriptor) RestartParentResourceRegistrar(ResourceServiceConfiguratorFactory parentFactory, ResourceDescriptor descriptor, ResourceServiceHandler handler) -
Method Summary
Methods inherited from class org.jboss.as.clustering.controller.ResourceRegistrar
register
-
Constructor Details
-
RestartParentResourceRegistrar
public RestartParentResourceRegistrar(ResourceServiceConfiguratorFactory parentFactory, ResourceDescriptor descriptor) -
RestartParentResourceRegistrar
public RestartParentResourceRegistrar(ResourceServiceConfiguratorFactory parentFactory, ResourceDescriptor descriptor, ResourceServiceHandler handler)
-