@Service
@Reference(name="processManager",
strategy=EVENT,
policy=DYNAMIC,
referenceInterface=ProcessManager.class,
cardinality=MANDATORY_UNARY)
public class ProcessManagerHostedExecutionStrategy
extends Object
implements org.springframework.roo.shell.ExecutionStrategy
ExecutionStrategy requests through
ProcessManager.execute(org.springframework.roo.process.manager.CommandCallback)
.| Constructor and Description |
|---|
ProcessManagerHostedExecutionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindProcessManager(ProcessManager processManager) |
Object |
execute(org.springframework.roo.shell.ParseResult parseResult) |
boolean |
isReadyForCommands() |
void |
terminate() |
protected void |
unbindProcessManager(ProcessManager processManager) |
public ProcessManagerHostedExecutionStrategy()
protected void bindProcessManager(ProcessManager processManager)
public Object execute(org.springframework.roo.shell.ParseResult parseResult) throws RuntimeException
execute in interface org.springframework.roo.shell.ExecutionStrategyRuntimeExceptionpublic boolean isReadyForCommands()
isReadyForCommands in interface org.springframework.roo.shell.ExecutionStrategypublic void terminate()
terminate in interface org.springframework.roo.shell.ExecutionStrategyprotected void unbindProcessManager(ProcessManager processManager)
Copyright © 2009–2016. All rights reserved.