public abstract class AbstractDiscoveryOptionAddHandler extends AbstractAddStepHandler
AbstractAddStepHandler.Parameters
Modifier and Type | Field and Description |
---|---|
static String |
OPERATION_NAME |
attributes
Constructor and Description |
---|
AbstractDiscoveryOptionAddHandler() |
Modifier and Type | Method and Description |
---|---|
protected Resource |
createResource(OperationContext context)
Create the
Resource that the AbstractAddStepHandler.execute(OperationContext, ModelNode)
method operates on. |
createResource, execute, performRuntime, performRuntime, performRuntime, populateModel, populateModel, populateModel, recordCapabilitiesAndRequirements, requiresRuntime, requiresRuntimeVerification, rollbackRuntime, rollbackRuntime
public static final String OPERATION_NAME
protected Resource createResource(OperationContext context)
AbstractAddStepHandler
Resource
that the AbstractAddStepHandler.execute(OperationContext, ModelNode)
method operates on. This method is invoked during OperationContext.Stage.MODEL
.
This default implementation uses the default resource creation facility exposed by the context
. Subclasses wishing to create a custom resource
type can override this method.
createResource
in class AbstractAddStepHandler
context
- the operation contextCopyright © 2023 JBoss by Red Hat. All rights reserved.