public class ServerConfigResourceDefinition extends SimpleResourceDefinition
ResourceDefinition
for a server-config
resource under a host.SimpleResourceDefinition.Parameters
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 RuntimeCapability |
SERVER_CONFIG_CAPABILITY |
static SimpleAttributeDefinition |
SOCKET_BINDING_DEFAULT_INTERFACE |
static SimpleAttributeDefinition |
SOCKET_BINDING_GROUP |
static SimpleAttributeDefinition |
SOCKET_BINDING_PORT_OFFSET |
static SimpleAttributeDefinition |
STATUS |
static SimpleAttributeDefinition |
UPDATE_AUTO_START_WITH_SERVER_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,
ControlledProcessState processState,
File domainDataDir)
Creates a ServerConfigResourceDefinition.
|
Modifier and Type | Method and Description |
---|---|
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
void |
registerCapabilities(ManagementResourceRegistration resourceRegistration)
Register capabilities 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, getDeprecationData, getDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, isOrderedChild, isRuntime, registerAddOperation, registerAddOperation, registerNotifications, registerRemoveOperation, registerRemoveOperation, setDeprecated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaxOccurs, getMinOccurs
public static final RuntimeCapability SERVER_CONFIG_CAPABILITY
public static final AttributeDefinition NAME
public static final SimpleAttributeDefinition AUTO_START
public static final SimpleAttributeDefinition UPDATE_AUTO_START_WITH_SERVER_STATUS
public static final SimpleAttributeDefinition SOCKET_BINDING_GROUP
public static final SimpleAttributeDefinition SOCKET_BINDING_DEFAULT_INTERFACE
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, ControlledProcessState processState, File domainDataDir)
hostControllerInfo
- 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 null
public void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerAttributes
in interface ResourceDefinition
registerAttributes
in class SimpleResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionpublic void registerOperations(ManagementResourceRegistration resourceRegistration)
SimpleResourceDefinition
registerOperations
in interface ResourceDefinition
registerOperations
in class SimpleResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionpublic void registerChildren(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerChildren
in interface ResourceDefinition
registerChildren
in class SimpleResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionpublic void registerCapabilities(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerCapabilities
in interface ResourceDefinition
registerCapabilities
in class SimpleResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionpublic static void registerServerLifecycleOperations(ManagementResourceRegistration resourceRegistration, ServerInventory serverInventory)
Copyright © 2023 JBoss by Red Hat. All rights reserved.