org.jactr.core.runtime.controller.impl
Class RuntimeListener

java.lang.Object
  extended by org.jactr.core.runtime.controller.impl.RuntimeListener
All Implemented Interfaces:
java.util.EventListener, IACTRRuntimeListener

public class RuntimeListener
extends java.lang.Object
implements IACTRRuntimeListener

the runtime listener is responsible for triggering the appropriate conditions in the default controller

Author:
harrison

Constructor Summary
RuntimeListener(RuntimeState state)
           
 
Method Summary
 java.util.concurrent.Future<java.lang.Boolean> getResumeFuture()
           
 java.util.concurrent.Future<java.lang.Boolean> getStartFuture()
           
 java.util.concurrent.Future<java.lang.Boolean> getStopFuture()
           
 java.util.concurrent.Future<java.lang.Boolean> getSuspendFuture()
           
 void modelAdded(ACTRRuntimeEvent event)
           
 void modelRemoved(ACTRRuntimeEvent event)
           
 void runtimeResumed(ACTRRuntimeEvent event)
           
 void runtimeStarted(ACTRRuntimeEvent event)
           
 void runtimeStopped(ACTRRuntimeEvent event)
           
 void runtimeSuspended(ACTRRuntimeEvent event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeListener

public RuntimeListener(RuntimeState state)
Method Detail

getStartFuture

public java.util.concurrent.Future<java.lang.Boolean> getStartFuture()

getStopFuture

public java.util.concurrent.Future<java.lang.Boolean> getStopFuture()

getSuspendFuture

public java.util.concurrent.Future<java.lang.Boolean> getSuspendFuture()

getResumeFuture

public java.util.concurrent.Future<java.lang.Boolean> getResumeFuture()

modelAdded

public void modelAdded(ACTRRuntimeEvent event)
Specified by:
modelAdded in interface IACTRRuntimeListener

modelRemoved

public void modelRemoved(ACTRRuntimeEvent event)
Specified by:
modelRemoved in interface IACTRRuntimeListener

runtimeResumed

public void runtimeResumed(ACTRRuntimeEvent event)
Specified by:
runtimeResumed in interface IACTRRuntimeListener

runtimeStarted

public void runtimeStarted(ACTRRuntimeEvent event)
Specified by:
runtimeStarted in interface IACTRRuntimeListener

runtimeStopped

public void runtimeStopped(ACTRRuntimeEvent event)
Specified by:
runtimeStopped in interface IACTRRuntimeListener

runtimeSuspended

public void runtimeSuspended(ACTRRuntimeEvent event)
Specified by:
runtimeSuspended in interface IACTRRuntimeListener