Save This Page
Home » geronimo-2.2-source-release » org.apache.geronimo.clustering » [javadoc | source]
public interface: ClusteredInvocation [javadoc | source]

All Known Implementing Classes:
    WebClusteredInvocation, WebClusteredInvocation, WebClusteredInvocation

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 from org.apache.geronimo.clustering.ClusteredInvocation Summary:
getRequestedSessionId,   invoke
Method from org.apache.geronimo.clustering.ClusteredInvocation Detail:
 public String getRequestedSessionId()
    Gets the sessionId of the Session bound to the invocation represented by this instance.
 public  void invoke() throws ClusteredInvocationException
    Invokes the clustered invocation.