@SuppressWarnings("unchecked") // dispatcher not typed @Override public void sendPauseEvent(String description) { dispatcher.getEventHandler().handle( new ContainerPauseEvent(containerId, description)); }
@Override public void transition(ContainerImpl container, ContainerEvent event) { // Pause the process/process-grp if it is supported by the container container.dispatcher.getEventHandler().handle( new ContainersLauncherEvent(container, ContainersLauncherEventType.PAUSE_CONTAINER)); ContainerPauseEvent pauseEvent = (ContainerPauseEvent) event; container.addDiagnostics(pauseEvent.getDiagnostic() + "\n"); } }