Class ExtensionRegistrationContext
java.lang.Object
org.jboss.as.clustering.controller.ExtensionRegistrationContext
- All Implemented Interfaces:
ManagementRegistrationContext
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionRegistrationContext(org.jboss.as.controller.ExtensionContext context) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.jboss.as.controller.services.path.PathManager>Returns the optionalPathManagerof the process that is only present if the process is aserver.booleanGets whether it is valid for the extension to register resources, attributes or operations that do not involve the persistent configuration, but rather only involve runtime services.
-
Constructor Details
-
ExtensionRegistrationContext
public ExtensionRegistrationContext(org.jboss.as.controller.ExtensionContext context)
-
-
Method Details
-
isRuntimeOnlyRegistrationValid
public boolean isRuntimeOnlyRegistrationValid()Description copied from interface:ManagementRegistrationContextGets whether it is valid for the extension to register resources, attributes or operations that do not involve the persistent configuration, but rather only involve runtime services. Extensions should use this method before registering such "runtime only" resources, attributes or operations. This method is intended to avoid registering resources, attributes or operations on process types that can not install runtime services.- Specified by:
isRuntimeOnlyRegistrationValidin interfaceManagementRegistrationContext- Returns:
- whether it is valid to register runtime resources, attributes, or operations.
- See Also:
-
ExtensionContext.isRuntimeOnlyRegistrationValid()
-
getPathManager
Description copied from interface:ManagementRegistrationContextReturns the optionalPathManagerof the process that is only present if the process is aserver.- Specified by:
getPathManagerin interfaceManagementRegistrationContext- Returns:
- an optional PathManager.
- See Also:
-
ExtensionContext.getPathManager()
-