All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.SessionArbitrator

java.lang.Object
   |
   +----ncsa.habanero.ModelObject
           |
           +----ncsa.habanero.granted.Arbitrator
                   |
                   +----ncsa.habanero.DynamicArbitrator
                           |
                           +----ncsa.habanero.SessionArbitrator

public class SessionArbitrator
extends DynamicArbitrator
The SessionArbitrator is necessary to ensure that at least the top of the Arbitrator hierarchy knows its Session. It can wrap any other sort of Arbitrator, and thus will not restrict the kind of arbitration Sessions do. It is initialized with the actual Arbitrator it delegates to.


Variable Index

 o session

Constructor Index

 o SessionArbitrator(Arbitrator, Session)
The constructor invokes the parent's constructor and sets the router

Method Index

 o getSession()
Return the session.
 o key()

Variables

 o session
 protected Session session

Constructors

 o SessionArbitrator
 protected SessionArbitrator(Arbitrator proxy,
                             Session session)
The constructor invokes the parent's constructor and sets the router

Parameters:
proxy - the Arbitrator to which we delegate

Methods

 o getSession
 public Session getSession()
Return the session.

Overrides:
getSession in class Arbitrator
 o key
 public Object key()
Overrides:
key in class ModelObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index