public class HostControllerResourceDescription extends SimpleResourceDefinition
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition[] |
HOST_ENV_ATTRIBUTES |
static PathElement |
RESOURCE_PATH |
Modifier and Type | Method and Description |
---|---|
static HostControllerResourceDescription |
of(HostControllerEnvironment environment)
A factory method for creating a new server environment resource description.
|
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
getDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, registerAddOperation, registerChildren, registerOperations, registerRemoveOperation
public static final PathElement RESOURCE_PATH
public static final AttributeDefinition[] HOST_ENV_ATTRIBUTES
public static HostControllerResourceDescription of(HostControllerEnvironment environment)
environment
- the environment the resource is based on.public void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerAttributes
in interface ResourceDefinition
registerAttributes
in class SimpleResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.