Package org.serviceconnector.cmd.sc
Class InspectCommand
java.lang.Object
org.serviceconnector.cmd.sc.CommandAdapter
org.serviceconnector.cmd.sc.InspectCommand
- All Implemented Interfaces:
ICommand
The Class InspectCommand. Responsible for validation and execution of inspect command. Inspect command is used for testing/maintaining reasons. Returns dumps of internal stuff
to requester.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.cmd.sc.CommandAdapter
basicConf, serverRegistry, serviceRegistry, sessionRegistry, subscriptionRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SCMPMsgTypegetKey()Gets the key.final voidrun(IRequest request, IResponse response, IResponderCallback responderCallback) Run command.final voidValidate request.Methods inherited from class org.serviceconnector.cmd.sc.CommandAdapter
getPublishMessageQueueById, getService, getSessionById, getStatefulService, getSubscriptionById, isPassThroughPartMsg, resetServerTimeout, validateFileService, validatePublishService, validatePublishService
-
Constructor Details
-
InspectCommand
public InspectCommand()
-
-
Method Details
-
getKey
Gets the key.- Specified by:
getKeyin interfaceICommand- Specified by:
getKeyin classCommandAdapter- Returns:
- the key
-
run
public final void run(IRequest request, IResponse response, IResponderCallback responderCallback) throws Exception Run command.- Parameters:
request- the requestresponse- the responseresponderCallback- callback to the responder- Throws:
Exception- the exception
-
validate
Validate request.- Specified by:
validatein interfaceICommand- Overrides:
validatein classCommandAdapter- Parameters:
request- the request- Throws:
Exception- the exception
-