org.sape.carbon.core.bootstrap
Class DefaultLoader

java.lang.Object
  |
  +--org.sape.carbon.core.bootstrap.DefaultLoader
All Implemented Interfaces:
Loader

class DefaultLoader
extends Object
implements Loader

This is the default loader for the system.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.39 $($Author: ghinkl $ / $Date: 2003/10/16 13:46:24 $)
Author:
Douglas Voet, January 2002

Field Summary
static String COMPONENT_KEEPER_CONFIGURATION
          Holds the config location of the default component keeper.
static String CONFIG_SERVICE_FACTORY_PROPERTY
          Holds the deployment property name for the default service factory.
private  org.apache.commons.logging.Log log
          The handle to Apache-commons logger
 
Constructor Summary
(package private) DefaultLoader()
           
 
Method Summary
 ComponentKeeper fetchComponentKeeper(ConfigurationService configurationService)
           Loads the ComponentKeeper for the system and returns it.
 ConfigurationService fetchConfigurationService()
           Loads the root ConfigurationService for the system and returns it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private org.apache.commons.logging.Log log
The handle to Apache-commons logger


COMPONENT_KEEPER_CONFIGURATION

public static final String COMPONENT_KEEPER_CONFIGURATION
Holds the config location of the default component keeper.

See Also:
Constant Field Values

CONFIG_SERVICE_FACTORY_PROPERTY

public static final String CONFIG_SERVICE_FACTORY_PROPERTY
Holds the deployment property name for the default service factory.

See Also:
Constant Field Values
Constructor Detail

DefaultLoader

DefaultLoader()
Method Detail

fetchConfigurationService

public ConfigurationService fetchConfigurationService()

Loads the root ConfigurationService for the system and returns it.

Specified by:
fetchConfigurationService in interface Loader
Returns:
a reference to the root ConfigurationService for the system

fetchComponentKeeper

public ComponentKeeper fetchComponentKeeper(ConfigurationService configurationService)

Loads the ComponentKeeper for the system and returns it.

Specified by:
fetchComponentKeeper in interface Loader
Parameters:
configurationService - the configuration service to fetch the keeper from
Returns:
the ComponentKeeper for the system


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.