L
- defines the action listener typeA
- defines the basic action typeM
- defines the basic message typepublic interface IPerspective<L,A,M> extends IComponent<L,A,M>, IRootComponent<ISubComponent<L,A,M>,IAction<A,M>>
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> |
getComponentDelegateQueue()
Returns delegate queue to delegate components to correct target
|
java.util.concurrent.BlockingQueue<IAction<A,M>> |
getComponentsMessageQueue()
returns the components coordinator message queue;
|
java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> |
getMessageDelegateQueue()
Returns delegate queue to delegate actions to correct target
|
Injectable |
getPerspectiveHandler()
Returns the injected perspective representation.
|
java.util.List<ISubComponent<L,A,M>> |
getSubcomponents()
Returns all subcomponents in perspective.
|
void |
handlePerspective(IAction<A,M> action)
Handle a message call on perspective instance.
|
void |
init(java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> componentDelegateQueue,
java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> messageDelegateQueue,
java.util.concurrent.BlockingQueue<IAction<A,M>> globalMessageQueue,
Launcher<?> launcher)
The initialization method.
|
void |
postInit(IComponentHandler<ISubComponent<L,A,M>,IAction<A,M>> componentHandler)
post init method to set correct component handler and to initialize
components depending on objects created in startUp sequence.
|
getContext, getLocaleID, getResourceBundleLocation, isStarted, setLocaleID, setResourceBundleLocation, setStarted
getComponentHandler, initComponents, registerComponent, unregisterComponent
void init(java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> componentDelegateQueue, java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> messageDelegateQueue, java.util.concurrent.BlockingQueue<IAction<A,M>> globalMessageQueue, Launcher<?> launcher)
componentDelegateQueue,
- components that should be delegated to an other perspectivemessageDelegateQueue,
- messages to componentsglobalMessageQueue
- launcher
- void postInit(IComponentHandler<ISubComponent<L,A,M>,IAction<A,M>> componentHandler)
componentHandler
- java.util.List<ISubComponent<L,A,M>> getSubcomponents()
void handlePerspective(IAction<A,M> action)
action
- java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> getComponentDelegateQueue()
java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> getMessageDelegateQueue()
java.util.concurrent.BlockingQueue<IAction<A,M>> getComponentsMessageQueue()
Injectable getPerspectiveHandler()