public static class ManagementResourceRegistration.Factory extends Object
| Modifier and Type | Method and Description |
|---|---|
ManagementResourceRegistration |
createRegistration(ResourceDefinition resourceDefinition)
Create a new root model node registration.
|
ManagementResourceRegistration |
createRegistration(ResourceDefinition resourceDefinition,
AccessConstraintUtilizationRegistry constraintUtilizationRegistry,
CapabilityRegistry registry)
Create a new root model node registration.
|
static ManagementResourceRegistration.Factory |
forProcessType(ProcessType processType)
Returns a ManagementResourceRegistration's Factory that will use the specified
processType
to determine whether resource metrics are registered or not. |
public static ManagementResourceRegistration.Factory forProcessType(ProcessType processType)
processType
to determine whether resource metrics are registered or not.
If the processType id null, metrics are always registered.processType - can be nullpublic ManagementResourceRegistration createRegistration(ResourceDefinition resourceDefinition)
resourceDefinition - the facotry for the model description provider for the root model nodeSecurityException - if the caller does not have ImmutableManagementResourceRegistration.ACCESS_PERMISSIONpublic ManagementResourceRegistration createRegistration(ResourceDefinition resourceDefinition, AccessConstraintUtilizationRegistry constraintUtilizationRegistry, CapabilityRegistry registry)
resourceDefinition - the facotry for the model description provider for the root model nodeconstraintUtilizationRegistry - registry for recording access constraints. Can be null if
tracking access constraint usage is not supportedregistry - the capability registry (can be null)SecurityException - if the caller does not have ImmutableManagementResourceRegistration.ACCESS_PERMISSIONCopyright © 2018 JBoss by Red Hat. All rights reserved.