L - defines the message listener typeA - defines the basic event typeM - defines the basic message typepublic interface IPerspective<L,A,M> extends IComponent<L,M>, IRootComponent<ISubComponent<L,A,M>,Message<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<IDelegateDTO<A,M>> |
getMessageDelegateQueue()
Returns delegate queue to delegate actions to correct target
|
java.util.concurrent.BlockingQueue<Message<A,M>> |
getMessageQueue()
returns the components coordinator message queue;
|
Injectable |
getPerspective()
Returns the injected perspective representation.
|
java.util.List<ISubComponent<L,A,M>> |
getSubcomponents()
Returns all subcomponents in perspective.
|
void |
handlePerspective(Message<A,M> message)
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,
ICoordinator<L,A,M> messageCoordinator,
Launcher<?> launcher)
The initialization method.
|
void |
postInit(IComponentHandler<ISubComponent<L,A,M>,Message<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, setStartedaddComponent, getComponentHandler, initComponents, registerComponent, removeAllCompnents, unregisterComponentvoid init(java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> componentDelegateQueue, java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> messageDelegateQueue, ICoordinator<L,A,M> messageCoordinator, Launcher<?> launcher)
componentDelegateQueue, - components that should be delegated to an other perspectivemessageDelegateQueue, - messages to componentsmessageCoordinator, - coordinates messages to componentslauncher, - the component launchervoid postInit(IComponentHandler<ISubComponent<L,A,M>,Message<A,M>> componentHandler)
componentHandler, - the component handlerjava.util.List<ISubComponent<L,A,M>> getSubcomponents()
void handlePerspective(Message<A,M> message)
message, - the message to perspective.java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> getComponentDelegateQueue()
java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> getMessageDelegateQueue()
java.util.concurrent.BlockingQueue<Message<A,M>> getMessageQueue()
Injectable getPerspective()