|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.web.controller.InitiatorsController
@Controller @SessionAttributes(value="payloadCommand") public class InitiatorsController
Controller for interaction with the initiators from a client.
| Constructor Summary | |
|---|---|
InitiatorsController(ModuleService moduleService)
Constructor |
|
| Method Summary | |
|---|---|
String |
controlInitiator(String moduleName,
String initiatorName,
String initiatorAction,
String startupType,
String startupComment)
Control the initiator (stop, start etc) |
String |
submitSimpleInitiator(org.springframework.ui.ModelMap model,
PayloadCommand payloadCommand)
Submit a SimpleInitiator's form |
String |
viewInitiator(String moduleName,
String initiatorName,
org.springframework.ui.ModelMap model)
View the initiator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InitiatorsController(ModuleService moduleService)
moduleService - - The module service| Method Detail |
|---|
@RequestMapping(value="/modules/viewInitiator.htm")
public String viewInitiator(@RequestParam(value="moduleName")
String moduleName,
@RequestParam(value="initiatorName")
String initiatorName,
org.springframework.ui.ModelMap model)
throws org.quartz.SchedulerException
moduleName - - The name of the moduleinitiatorName - - The name of the initiatormodel - - The model
org.quartz.SchedulerException - - Exception if there was a scheduler problem
@RequestMapping(value="/modules/simpleInitiatorPost.htm",
method=POST)
public String submitSimpleInitiator(org.springframework.ui.ModelMap model,
@ModelAttribute(value="payloadCommand")
PayloadCommand payloadCommand)
throws org.quartz.SchedulerException
payloadCommand - - The command to executemodel - - The model
org.quartz.SchedulerException - - Exception if there was a scheduler problem
@RequestMapping(value="/modules/initiator.htm",
method=POST)
public String controlInitiator(@RequestParam(value="moduleName")
String moduleName,
@RequestParam(value="initiatorName")
String initiatorName,
@RequestParam(value="initiatorAction",required=false)
String initiatorAction,
@RequestParam(value="startupType",required=false)
String startupType,
@RequestParam(value="startupComment",required=false)
String startupComment)
moduleName - The name of the moduleinitiatorName - - The name of the initiatorinitiatorAction - - The controlling action for the initiator
Exception - - Exception if we cannot control the initiator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||