com.lonniepryor.blues
Class Blues

java.lang.Object
  |
  +--com.lonniepryor.blues.Blues

public final class Blues
extends java.lang.Object

Static entry point into the framework. Once an instance of Session has been created for a specific application, the components of that application become available through this class's static interface until the Session is disposed.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Method Summary
static java.lang.Object lookupDispatcher(java.lang.Class dispatcherInterface)
          Looks up the specified event dispatcher in the currently bound Session.
static java.lang.Object lookupService(java.lang.String fullName)
          Looks up the specified service in the currently bound Session.
static java.lang.Object lookupSingleton(java.lang.Class singletonType)
          Looks up the specified singleton in the currently bound Session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

lookupSingleton

public static java.lang.Object lookupSingleton(java.lang.Class singletonType)
Looks up the specified singleton in the currently bound Session.

Parameters:
singletonType - The type of the singleton instance.
Returns:
The requested singleton instance.

lookupService

public static java.lang.Object lookupService(java.lang.String fullName)
Looks up the specified service in the currently bound Session.

Parameters:
fullName - The fully-qualified name of the service instance.
Returns:
The requested service instance.

lookupDispatcher

public static java.lang.Object lookupDispatcher(java.lang.Class dispatcherInterface)
Looks up the specified event dispatcher in the currently bound Session.

Parameters:
dispatcherInterface - The type of the dispatcher interface.
Returns:
The requested dispatcher instance.


Copyright © 2003 Blues Framework. All Rights Reserved.