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>
public class RestartParentResourceRegistrar extends ResourceRegistrar
Registers aRestartParentResourceAddStepHandler,RestartParentResourceRemoveStepHandler, andRestartParentResourceWriteAttributeHandleron behalf of a resource definition. Users of this class should ensure that theResourceServiceConfiguratorreturned 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
Constructors Constructor Description RestartParentResourceRegistrar(ResourceServiceConfiguratorFactory parentFactory, ResourceDescriptor descriptor)RestartParentResourceRegistrar(ResourceServiceConfiguratorFactory parentFactory, ResourceDescriptor descriptor, ResourceServiceHandler handler)
-
-
-
Constructor Detail
-
RestartParentResourceRegistrar
public RestartParentResourceRegistrar(ResourceServiceConfiguratorFactory parentFactory, ResourceDescriptor descriptor)
-
RestartParentResourceRegistrar
public RestartParentResourceRegistrar(ResourceServiceConfiguratorFactory parentFactory, ResourceDescriptor descriptor, ResourceServiceHandler handler)
-
-