|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusteredInvocation
Represents a clustered invocation.
A clustered invocation is intended to be a thin wrapper around an actual invocation enhancing this latter with an association to a local SessionManager. For instance, an HTTPRequest is an actual invocation.
A clustered invocation is interposed between a client and the Session he wants to access to provide cluster wide access serialization to the requested Session. A clustered invocation is associated to a local SessionManager, even if no contract captures such a relationship. When a clustered invocation is executed one of the two following scenarios happen:
Method Summary | |
---|---|
String |
getRequestedSessionId()
Gets the sessionId of the Session bound to the invocation represented by this instance. |
void |
invoke()
Invokes the clustered invocation. |
Method Detail |
---|
void invoke() throws ClusteredInvocationException
ClusteredInvocationException
- Thrown when the invocation cannot be successfully executed. This may
be either due to the fact that the actual invocation has failed or the requestedSessionId is unknown by
the associated local SessionManager and its remote peers.String getRequestedSessionId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |