com.aurorasoftworks.signal.runtime.ui.mvc
Class AbstractDispatcher

java.lang.Object
  extended by com.aurorasoftworks.signal.runtime.ui.mvc.AbstractControllerMethodInterceptor
      extended by com.aurorasoftworks.signal.runtime.ui.mvc.AbstractDispatcher
All Implemented Interfaces:
IBeanProcessor, IContextAware
Direct Known Subclasses:
AbstractMIDletDispatcher

public abstract class AbstractDispatcher
extends AbstractControllerMethodInterceptor
implements IContextAware


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aurorasoftworks.signal.runtime.ui.mvc.AbstractControllerMethodInterceptor
AbstractControllerMethodInterceptor.ControllerMethodInterceptor, AbstractControllerMethodInterceptor.FlowCallerMethodInterceptor
 
Field Summary
protected  IController currentController
           
 
Constructor Summary
AbstractDispatcher()
           
 
Method Summary
protected abstract  void activateController(IController controller)
           
protected  void beginFlow(IFlowController newController)
           
protected  void checkControllerState(IController controller)
           
protected abstract  void checkDispatcherAware(IController controller)
           
protected  void checkFlow(IController newController)
           
protected  IController createFlowCallerProxy(IController controller)
           
protected abstract  void deactivateController(IController controller)
           
protected  void endFlow(IController newController)
           
protected  IController getCurrentController()
           
protected  int getFlowLevel()
           
protected  java.lang.Object onControllerMethodInvoked(IController controller, IMethodHandler handler, java.lang.Object[] args)
           
protected  java.lang.Object onFlowCallerMethodInvoked(IController controller, IMethodHandler handler, java.lang.Object[] args)
           
 
Methods inherited from class com.aurorasoftworks.signal.runtime.ui.mvc.AbstractControllerMethodInterceptor
getContext, getControllerProxy, getFlowCallerHandlers, getProxyFactory, isController, postProcessBean, preProcessBean, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aurorasoftworks.signal.runtime.core.context.IContextAware
setContext
 

Field Detail

currentController

protected IController currentController
Constructor Detail

AbstractDispatcher

public AbstractDispatcher()
Method Detail

onControllerMethodInvoked

protected java.lang.Object onControllerMethodInvoked(IController controller,
                                                     IMethodHandler handler,
                                                     java.lang.Object[] args)
                                              throws java.lang.Exception
Specified by:
onControllerMethodInvoked in class AbstractControllerMethodInterceptor
Throws:
java.lang.Exception

onFlowCallerMethodInvoked

protected java.lang.Object onFlowCallerMethodInvoked(IController controller,
                                                     IMethodHandler handler,
                                                     java.lang.Object[] args)
                                              throws java.lang.Exception
Specified by:
onFlowCallerMethodInvoked in class AbstractControllerMethodInterceptor
Throws:
java.lang.Exception

checkControllerState

protected void checkControllerState(IController controller)

checkDispatcherAware

protected abstract void checkDispatcherAware(IController controller)

checkFlow

protected void checkFlow(IController newController)
                  throws java.lang.Exception
Throws:
java.lang.Exception

beginFlow

protected void beginFlow(IFlowController newController)
                  throws java.lang.Exception
Throws:
java.lang.Exception

endFlow

protected void endFlow(IController newController)
                throws java.lang.Exception
Throws:
java.lang.Exception

createFlowCallerProxy

protected IController createFlowCallerProxy(IController controller)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

activateController

protected abstract void activateController(IController controller)

deactivateController

protected abstract void deactivateController(IController controller)

getCurrentController

protected IController getCurrentController()

getFlowLevel

protected int getFlowLevel()


Copyright © 2010. All Rights Reserved.