org.jacp.api.component
Interface IBGComponent<L,A,M>

Type Parameters:
L - defines the action listener type
A - defines the basic action type
M - defines the basic message type
All Superinterfaces:
java.lang.Cloneable, IComponent<L,A,M>, IHandleable<A,M>, ISubComponent<L,A,M>
All Known Subinterfaces:
IStateLessBGComponent<L,A,M>

public interface IBGComponent<L,A,M>
extends ISubComponent<L,A,M>, java.lang.Cloneable

This interface defines methods for background/ non ui components.

Author:
Andy Moncsek

Method Summary
 java.lang.String getHandleTargetAndClear()
          Returns component id which is targeted by bg component return value; the return value will be handled like an average message and will be delivered to targeted component
 void setHandleTarget(java.lang.String componentTargetId)
          Set component target id which is targeted by background component return value; the return value will be handled like an average message and will be delivered to targeted component
 
Methods inherited from interface org.jacp.api.component.ISubComponent
getExecutionTarget, getNextIncomingMessage, getParentPerspective, hasIncomingMessage, isBlocked, putIncomingMessage, setBlocked, setExecutionTarget, setParentPerspective
 
Methods inherited from interface org.jacp.api.component.IComponent
getActionListener, getId, getName, isActivated, isActive, setActivated, setActive, setId, setName, setObserver
 
Methods inherited from interface org.jacp.api.component.IHandleable
handle
 

Method Detail

getHandleTargetAndClear

java.lang.String getHandleTargetAndClear()
Returns component id which is targeted by bg component return value; the return value will be handled like an average message and will be delivered to targeted component

Returns:
the target id

setHandleTarget

void setHandleTarget(java.lang.String componentTargetId)
Set component target id which is targeted by background component return value; the return value will be handled like an average message and will be delivered to targeted component

Parameters:
componentTargetId -