org.sape.carbon.core.component.startup
Class DefaultStartupServiceImpl

java.lang.Object
  |
  +--org.sape.carbon.core.component.startup.DefaultStartupServiceImpl
All Implemented Interfaces:
Configurable, FunctionalInterface, StartupService

public class DefaultStartupServiceImpl
extends Object
implements StartupService, Configurable

Default implementation of the Startup Service. This implementation defines the list of components to start in configuration.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.19 $($Author: dvoet $ / $Date: 2003/05/05 21:21:14 $)
Author:
Douglas Voet, January 2002

Field Summary
private  org.apache.commons.logging.Log log
          Provides a handle to Apache-commons logger
private  StartupServiceConfiguration.StartupComponentConfiguration[] startupComponents
          set of all component names that need to be started
 
Constructor Summary
DefaultStartupServiceImpl()
           
 
Method Summary
 void configure(ComponentConfiguration configuration)
          Configuration lifecycle method.
 void startComponents()
          Starts all components that this service is configured to start.
 
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
Provides a handle to Apache-commons logger


startupComponents

private StartupServiceConfiguration.StartupComponentConfiguration[] startupComponents
set of all component names that need to be started

Constructor Detail

DefaultStartupServiceImpl

public DefaultStartupServiceImpl()
Method Detail

startComponents

public void startComponents()

Starts all components that this service is configured to start.

Specified by:
startComponents in interface StartupService

configure

public void configure(ComponentConfiguration configuration)

Configuration lifecycle method.

Specified by:
configure in interface Configurable
Parameters:
configuration - StartupServiceConfiguration configuration of the component


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.