edu.nyu.cs.pdsg.switchboard
Class SingletonLifetimeManager

java.lang.Object
  extended byedu.nyu.cs.pdsg.switchboard.SimpleSbEventHandler
      extended byedu.nyu.cs.pdsg.switchboard.SingletonLifetimeManager
All Implemented Interfaces:
LifetimeManager, SbClient, SbEventHandler, SbLayerable, java.io.Serializable

public class SingletonLifetimeManager
extends SimpleSbEventHandler
implements LifetimeManager

Implemented using dRBAC trust management infrastructure.

See Also:
Serialized Form

Field Summary
private  java.io.Serializable singleton
           
 
Fields inherited from class edu.nyu.cs.pdsg.switchboard.SimpleSbEventHandler
 
Constructor Summary
SingletonLifetimeManager(java.io.Serializable _singleton)
           
 
Method Summary
 java.io.Serializable getIncallHandler()
          Returns a MinimalSingleton.
 java.io.Serializable getIncallHandler(AuthorizationMonitor authMonitor)
          Returns the singelton
 
Methods inherited from class edu.nyu.cs.pdsg.switchboard.SimpleSbEventHandler
amReady, handleEvent, providerReady, setTopOfStack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.nyu.cs.pdsg.switchboard.SbEventHandler
setTopOfStack
 
Methods inherited from interface edu.nyu.cs.pdsg.switchboard.SbClient
handleEvent, providerReady
 

Field Detail

singleton

private java.io.Serializable singleton
Constructor Detail

SingletonLifetimeManager

public SingletonLifetimeManager(java.io.Serializable _singleton)
Method Detail

getIncallHandler

public java.io.Serializable getIncallHandler()
Returns a MinimalSingleton.

Specified by:
getIncallHandler in interface LifetimeManager

getIncallHandler

public java.io.Serializable getIncallHandler(AuthorizationMonitor authMonitor)
Returns the singelton

Specified by:
getIncallHandler in interface LifetimeManager
Parameters:
authMonitor - contains the Credentials of the Switchboard partner.


Copyright (c) 2002-2003 New York University RLAB