public class ContainerCommandObserver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Instance<ContainerController> |
controllerInst |
Constructor and Description |
---|
ContainerCommandObserver() |
Modifier and Type | Method and Description |
---|---|
void |
isStarted(ContainerStartedCommand event) |
void |
kill(KillContainerCommand event) |
void |
onException(EventContext<Command> event) |
void |
start(StartContainerCommand event) |
void |
stop(StopContainerCommand event) |
@Inject private Instance<ContainerController> controllerInst
public void onException(@Observes EventContext<Command> event)
public void start(@Observes StartContainerCommand event)
public void stop(@Observes StopContainerCommand event)
public void kill(@Observes KillContainerCommand event)
public void isStarted(@Observes ContainerStartedCommand event)