org.sape.carbon.core.component.startup
Interface StartupServiceConfiguration

All Superinterfaces:
ComponentConfiguration, Configuration

public interface StartupServiceConfiguration
extends ComponentConfiguration

Configuration interface for the Startup Service.

Copyright 2002 Sapient

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

Nested Class Summary
static interface StartupServiceConfiguration.StartupComponentConfiguration
          Interface defining a component to be processed by the startup service.
 
Field Summary
 
Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration
ComponentTemplateName
 
Method Summary
 void addStartupComponent(StartupServiceConfiguration.StartupComponentConfiguration newStartupService)
          Adds a component to the list of startup components.
 StartupServiceConfiguration.StartupComponentConfiguration[] getStartupComponent()
          Gets the set of components that need to be started.
 StartupServiceConfiguration.StartupComponentConfiguration getStartupComponent(int index)
          Gets a component from the list of startup components.
 void setStartupComponent(int index, StartupServiceConfiguration.StartupComponentConfiguration startupComponents)
          Replaces a component in the list of startup components.
 void setStartupComponent(StartupServiceConfiguration.StartupComponentConfiguration[] startupComponents)
          Sets the list of components to be started.
 
Methods inherited from interface org.sape.carbon.core.component.ComponentConfiguration
getComponentDescription, getComponentTemplateName, getFunctionalImplementationClass, getFunctionalInterface, setComponentDescription, setComponentTemplateName, setFunctionalImplementationClass, setFunctionalInterface
 
Methods inherited from interface org.sape.carbon.core.config.Configuration
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly
 

Method Detail

getStartupComponent

public StartupServiceConfiguration.StartupComponentConfiguration[] getStartupComponent()

Gets the set of components that need to be started.

Returns:
the set of components to be started

setStartupComponent

public void setStartupComponent(StartupServiceConfiguration.StartupComponentConfiguration[] startupComponents)
Sets the list of components to be started.

Parameters:
startupComponents - components to started

getStartupComponent

public StartupServiceConfiguration.StartupComponentConfiguration getStartupComponent(int index)
Gets a component from the list of startup components.

Parameters:
index - index of component to get
Returns:
the component at the given index

setStartupComponent

public void setStartupComponent(int index,
                                StartupServiceConfiguration.StartupComponentConfiguration startupComponents)
Replaces a component in the list of startup components.

Parameters:
index - index of component to replace
startupComponents - component to replace in the list

addStartupComponent

public void addStartupComponent(StartupServiceConfiguration.StartupComponentConfiguration newStartupService)
Adds a component to the list of startup components.

Parameters:
newStartupService - component to add to the list


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.