com.lonniepryor.blues.sys
Class Application

java.lang.Object
  |
  +--com.lonniepryor.blues.sys.Context
        |
        +--com.lonniepryor.blues.sys.Application
All Implemented Interfaces:
Directory

public final class Application
extends Context

Models the abstract view of a Blues Application.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Constructor Summary
Application(java.lang.ClassLoader classLoader, ApplicationCfg configuration)
          Creates a new Application object.
 
Method Summary
 Registry getAllRegisteredObjects()
          Creates and returns a new Registry containing the components of this application.
 java.lang.Object lookupService(java.lang.String relativeServiceName)
          Finds the service with the supplied name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Application

public Application(java.lang.ClassLoader classLoader,
                   ApplicationCfg configuration)
Creates a new Application object.

Parameters:
classLoader - The ClassLoader for this Application.
configuration - The Application configuration information.
Method Detail

getAllRegisteredObjects

public Registry getAllRegisteredObjects()
Creates and returns a new Registry containing the components of this application.

Returns:
A new Registry containing the components of this application.

lookupService

public java.lang.Object lookupService(java.lang.String relativeServiceName)
Description copied from interface: Directory
Finds the service with the supplied name.

Parameters:
relativeServiceName - The name of the service relative to the configuration element accessing it.
Returns:
The requested service instnace.


Copyright © 2003 Blues Framework. All Rights Reserved.