public class ServerConfigResourceDefinition extends SimpleResourceDefinition
ResourceDefinition for a server-config resource under a host.| Modifier and Type | Field and Description |
|---|---|
static SimpleAttributeDefinition |
AUTO_START |
static AttributeDefinition |
CPU_AFFINITY
Bogus attribute that we accidentally registered in AS 7.1.2/EAP 6 even though it didn't appear in the
resource description.
|
static SimpleAttributeDefinition |
GROUP |
static AttributeDefinition |
NAME |
static AttributeDefinition |
PRIORITY
Bogus attribute that we accidentally registered in AS 7.1.2/EAP 6 even though it didn't appear in the
resource description.
|
static SimpleAttributeDefinition |
SOCKET_BINDING_GROUP |
static SimpleAttributeDefinition |
SOCKET_BINDING_PORT_OFFSET |
static SimpleAttributeDefinition |
STATUS |
static List<SimpleAttributeDefinition> |
WRITABLE_ATTRIBUTES
The attributes that can be written by the
add operation |
| Constructor and Description |
|---|
ServerConfigResourceDefinition(LocalHostControllerInfo hostControllerInfo,
ServerInventory serverInventory,
PathManagerService pathManager)
Creates a ServerConfigResourceDefinition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
void |
registerChildren(ManagementResourceRegistration resourceRegistration)
Register child resources associated with this resource.
|
void |
registerOperations(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
static void |
registerServerLifecycleOperations(ManagementResourceRegistration resourceRegistration,
ServerInventory serverInventory) |
getAccessConstraints, getDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, registerAddOperation, registerAddOperation, registerRemoveOperation, registerRemoveOperationpublic static final AttributeDefinition NAME
public static final SimpleAttributeDefinition AUTO_START
public static final SimpleAttributeDefinition SOCKET_BINDING_GROUP
public static final SimpleAttributeDefinition SOCKET_BINDING_PORT_OFFSET
public static final SimpleAttributeDefinition GROUP
public static final SimpleAttributeDefinition STATUS
public static final AttributeDefinition PRIORITY
public static final AttributeDefinition CPU_AFFINITY
public static final List<SimpleAttributeDefinition> WRITABLE_ATTRIBUTES
add operationpublic ServerConfigResourceDefinition(LocalHostControllerInfo hostControllerInfo, ServerInventory serverInventory, PathManagerService pathManager)
serverInventory - the server inventory to use for runtime server lifecycle operations. May be null
in which case no such operations will be registeredpathManager - the PathManagerService to use for the child path resources. Cannot be nullpublic void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinitionregisterAttributes in interface ResourceDefinitionregisterAttributes in class SimpleResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionpublic void registerOperations(ManagementResourceRegistration resourceRegistration)
SimpleResourceDefinitionregisterOperations in interface ResourceDefinitionregisterOperations in class SimpleResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionpublic void registerChildren(ManagementResourceRegistration resourceRegistration)
ResourceDefinitionregisterChildren in interface ResourceDefinitionregisterChildren in class SimpleResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionpublic static void registerServerLifecycleOperations(ManagementResourceRegistration resourceRegistration, ServerInventory serverInventory)
Copyright © 2014 JBoss by Red Hat. All rights reserved.