Package org.serviceconnector.cmd.srv
Class SrvExecuteCommand
java.lang.Object
org.serviceconnector.cmd.srv.SrvCommandAdapter
org.serviceconnector.cmd.srv.SrvExecuteCommand
- All Implemented Interfaces:
ICommand
The Class SrvExecuteCommand. Responsible for validation and execution of server execute command.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.cmd.srv.SrvCommandAdapter
sessionCompositeRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Gets the key.voidrun(IRequest request, IResponse response, IResponderCallback responderCallback) Run command.voidValidate request.Methods inherited from class org.serviceconnector.cmd.srv.SrvCommandAdapter
getSrvPublishServiceByServiceName, getSrvServiceByServiceName, getSrvSessionServiceByServiceName, isPassThroughPartMsg
-
Constructor Details
-
SrvExecuteCommand
public SrvExecuteCommand()
-
-
Method Details
-
getKey
Gets the key.- Specified by:
getKeyin interfaceICommand- Specified by:
getKeyin classSrvCommandAdapter- Returns:
- the key
-
run
public void run(IRequest request, IResponse response, IResponderCallback responderCallback) throws Exception Run command.- Specified by:
runin interfaceICommand- Specified by:
runin classSrvCommandAdapter- Parameters:
request- the requestresponse- the responseresponderCallback- callback to the responder- Throws:
Exception- the exception
-
validate
Validate request.- Specified by:
validatein interfaceICommand- Overrides:
validatein classSrvCommandAdapter- Parameters:
request- the request- Throws:
Exception- the exception
-