com.lonniepryor.blues.cfg
Class ApplicationCfgImpl

java.lang.Object
  |
  +--com.lonniepryor.blues.cfg.ApplicationCfgImpl
All Implemented Interfaces:
ApplicationCfg

public class ApplicationCfgImpl
extends java.lang.Object
implements ApplicationCfg

Generic implementation of ApplicationCfg.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Constructor Summary
ApplicationCfgImpl()
          Creates a new ApplicationCfgImpl object.
 
Method Summary
 void declare(SingletonCfg singleton)
          Decalres a singleton config in this application.
 void declareServices(ModuleCfgImpl rootModule)
          Decalres the root module of this application.
 void declareSingleton(SingletonCfgImpl singleton)
          Decalres a singleton in this application.
 ModuleCfg getRootModule()
          Returns the root module of this application.
 SingletonCfg[] getSingletons()
          Returns all of the singletons declared in this application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationCfgImpl

public ApplicationCfgImpl()
Creates a new ApplicationCfgImpl object.

Method Detail

declareSingleton

public void declareSingleton(SingletonCfgImpl singleton)
Decalres a singleton in this application.

Parameters:
singleton - The singleton to declare.

declareServices

public void declareServices(ModuleCfgImpl rootModule)
Decalres the root module of this application.

Parameters:
rootModule - The root module of this application.

declare

public void declare(SingletonCfg singleton)
Decalres a singleton config in this application.

Parameters:
singleton - The singleton to declare.

getSingletons

public SingletonCfg[] getSingletons()
Description copied from interface: ApplicationCfg
Returns all of the singletons declared in this application.

Specified by:
getSingletons in interface ApplicationCfg
Returns:
All of the singletons declared in this application.

getRootModule

public ModuleCfg getRootModule()
Description copied from interface: ApplicationCfg
Returns the root module of this application.

Specified by:
getRootModule in interface ApplicationCfg
Returns:
The root module of this application.


Copyright © 2003 Blues Framework. All Rights Reserved.