Package org.jboss.as.cli.handlers.jca
Class DataSourceAddCompositeHandler
- java.lang.Object
-
- org.jboss.as.cli.handlers.CommandHandlerWithArguments
-
- org.jboss.as.cli.handlers.CommandHandlerWithHelp
-
- org.jboss.as.cli.handlers.BaseOperationCommand
-
- org.jboss.as.cli.handlers.ResourceCompositeOperationHandler
-
- org.jboss.as.cli.handlers.jca.DataSourceAddCompositeHandler
-
- All Implemented Interfaces:
CliEventListener,CommandHandler,OperationCommandWithDescription,OperationDescriptionProvider,OperationCommand
public class DataSourceAddCompositeHandler extends ResourceCompositeOperationHandler implements OperationCommandWithDescription
Command handler that allows to add connection properties while adding the data-source in one composite operation.- Author:
- Alexey Loubyansky
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.cli.OperationCommand
OperationCommand.HandledRequest
-
-
Field Summary
-
Fields inherited from class org.jboss.as.cli.handlers.ResourceCompositeOperationHandler
idProperty, name, profile
-
Fields inherited from class org.jboss.as.cli.handlers.BaseOperationCommand
accessRequirement, headers, params, requiredAddress
-
Fields inherited from class org.jboss.as.cli.handlers.CommandHandlerWithHelp
helpArg
-
-
Constructor Summary
Constructors Constructor Description DataSourceAddCompositeHandler(CommandContext ctx, String nodeType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jboss.dmr.ModelNodebuildRequestWithoutHeaders(CommandContext ctx)org.jboss.dmr.ModelNodegetOperationDescription(CommandContext ctx)protected Map<String,CommandArgument>loadArguments(CommandContext ctx)-
Methods inherited from class org.jboss.as.cli.handlers.ResourceCompositeOperationHandler
addValueCompleter, addValueConverter, asType, buildOperationAddress, getAllArguments, getArgument, getArguments, getOperationArguments, getOperationDescription, getType, initRequest, recognizeArguments
-
Methods inherited from class org.jboss.as.cli.handlers.BaseOperationCommand
addArgument, addHeaders, addRequiredPath, addRequiredPath, buildRequest, buildRequestWOValidation, cliEvent, displayResponseHeaders, doHandle, getAttachments, getRequiredAddress, getRequiredType, handleAttachedFile, handleResponse, handleResponse, isAddressValid, isAvailable, isDependsOnProfile, setParams, setupAccessRequirement
-
Methods inherited from class org.jboss.as.cli.handlers.CommandHandlerWithHelp
displayHelp, handle, isBatchMode, printHelp, printList
-
Methods inherited from class org.jboss.as.cli.handlers.CommandHandlerWithArguments
getArgumentsMap, hasArgument, hasArgument
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.cli.CommandHandler
getArgument, getArguments, handle, hasArgument, hasArgument, isAvailable, isBatchMode
-
Methods inherited from interface org.jboss.as.cli.OperationCommand
buildHandledRequest, buildRequest, buildRequest
-
-
-
-
Constructor Detail
-
DataSourceAddCompositeHandler
public DataSourceAddCompositeHandler(CommandContext ctx, String nodeType)
-
-
Method Detail
-
loadArguments
protected Map<String,CommandArgument> loadArguments(CommandContext ctx)
- Overrides:
loadArgumentsin classResourceCompositeOperationHandler
-
buildRequestWithoutHeaders
protected org.jboss.dmr.ModelNode buildRequestWithoutHeaders(CommandContext ctx) throws CommandFormatException
- Overrides:
buildRequestWithoutHeadersin classResourceCompositeOperationHandler- Throws:
CommandFormatException
-
getOperationDescription
public org.jboss.dmr.ModelNode getOperationDescription(CommandContext ctx) throws CommandLineException
- Specified by:
getOperationDescriptionin interfaceOperationDescriptionProvider- Throws:
CommandLineException
-
-