|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Presence<C extends Communication,R>
This is the most basic extension of the axiomatic Presence term. It could be considered as the basics for all Brillien implementation.
Field Summary | |
---|---|
static int |
CONSONANT
Consonant will be instanciated in every process meaning different transaction id. |
static int |
RESIDENT
Singleton will be made only once. |
static int |
SPARKLE
Sparklink will be instantiated in every incoming communication |
Method Summary | ||
---|---|---|
void |
activateAll()
Activates all activity of the Presence (messaging, aspiring). |
|
void |
addSuperUnits(Unit... ses)
Adds new superunits. |
|
void |
clearSuperUnits()
Clears all subunits |
|
String |
getApiKeyPresenceName()
Gets the name of the presence providing API_KEY functionality |
|
Flow |
getFlow()
Gets the flow referece of the Presence. |
|
String |
getFlowID()
Gets the flow ID of the Presence. |
|
PresenceManager |
getPresenceManager()
Getter method for the instantiating manager for that component |
|
|
getSharing(Object key)
Tries to retrieve a shared Resource. |
|
String |
getSSOPresenceName()
Gets the name of the Presence providing SSO functionality |
|
Collection<Unit> |
getSuperUnits()
Gets superunits instances. |
|
void |
passivateAll()
Passivates all activity of the Presence (messaging, aspiring). |
|
String |
printErrorStates()
|
|
void |
removeSuperUnits(Unit... ses)
Removes superunits. |
|
void |
retrieve()
Makes this presence to be retrieved by the proper Presencemanager |
|
void |
setFlow(Flow flow)
Sets the flow ID of the Presence. |
|
void |
setPresenceManager(PresenceManager manager)
Setter method for the instantiating manager for that component |
Methods inherited from interface com.vii.brillien.kernel.axiom.Presence |
---|
aspirationTimeIsUp, getAspirationTimeMeasure, getFullName, getMessageProcessorParameterNames, getMessageProcessorParameterTypes, getName, hasMessageProcessorReturnValue, isAspirationPeriodical, reset, setAspirationPeriodical, setAspirationTimeMeasure, setName |
Methods inherited from interface com.vii.brillien.kernel.axiom.Aspirer |
---|
activateCallable, getResult, hasActivity, isWaitingForInputData, isWaitingForResponse, passivateCallable, plan, sendAGet, sendDelegatedSet, sendError, sendError, sendError, sendGet, sendGet, sendResponse, sendSet, sendUnitAGet, sendUnitDelegatedSet, sendUnitGet, sendUnitGet, sendUnitSet |
Methods inherited from interface java.util.concurrent.Callable |
---|
call |
Methods inherited from interface com.vii.brillien.kernel.axiom.Sensor |
---|
activateMessaging, communicationReceived, errorReceived, passivateMessaging, presenseChangedState |
Methods inherited from interface com.vii.brillien.kernel.axiom.Progressor |
---|
addState, changeState, getActualStates, getPotentialStates, getStateDivision, hasStateMachine, initStateMashine, isInExitState, isInState, isInValidStates, panic, registerStateChangeNotification, removeState, setStateDivision, unregisterStateChangeNotification |
Field Detail |
---|
static final int RESIDENT
static final int CONSONANT
static final int SPARKLE
Method Detail |
---|
Flow getFlow()
String getFlowID()
void setFlow(Flow flow) throws BrillienException
flow
- Presence's Flow reference
BrillienException
Collection<Unit> getSuperUnits()
void addSuperUnits(Unit... ses) throws BrillienException
ses
- array of new superunits
BrillienException
void removeSuperUnits(Unit... ses) throws BrillienException
ses
- array of superunits to remove
BrillienException
void clearSuperUnits() throws BrillienException
BrillienException
PresenceManager getPresenceManager()
void setPresenceManager(PresenceManager manager)
manager
- instantiating managervoid retrieve() throws BrillienException
BrillienException
void activateAll() throws BrillienException
BrillienException
void passivateAll() throws BrillienException
BrillienException
String printErrorStates()
<S> S getSharing(Object key)
S
- Generic type of the resourcekey
- key of the sharing
String getSSOPresenceName()
String getApiKeyPresenceName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |