com.sapportals.wcm.crt.component

Interface ILifecycleInfo

All Known Subinterfaces:
IComponentManager.IComponentInformation
All Known Implementing Classes:
AbstractFilterManager, AbstractManager, AbstractRepositoryService, AbstractService, ComponentStateHandler

public interface ILifecycleInfo

This interface can be impemented by components that want to provide information about their life-cycle.

Copyright (c) SAP AG 2001-2002


Method Summary
 Date getCreationDate()
          Returns the date and time of the creation of the component instance.
 ConfigurationException getLastConfigurationException()
          Returns the exception thrown in the last call to IConfigurable.configure(IConfiguration), or IReconfigurable.reconfigure(IConfiguration).
 Date getLastReconfigurationDate()
          Returns the date and time of the last reconfiguration of this component.
 Date getNextAutoRestartDate()
          Returns the date and time of the next automatic restart of the component.
 StartupException getStartupException()
          Returns the exception thrown in the last call to IStartable.start(), Can be null .
 ComponentState getState()
          Returns the current life-cycle state of the component.
 

Method Detail

getState

public ComponentState getState()
Returns the current life-cycle state of the component. Can be null .

Returns:
the current life-cycle state of the component. Can be null .

getLastConfigurationException

public ConfigurationException getLastConfigurationException()
Returns the exception thrown in the last call to IConfigurable.configure(IConfiguration), or IReconfigurable.reconfigure(IConfiguration). Can be null .

Returns:
lastConfigurationException

getStartupException

public StartupException getStartupException()
Returns the exception thrown in the last call to IStartable.start(), Can be null .

Returns:
startupException

getCreationDate

public Date getCreationDate()
Returns the date and time of the creation of the component instance. Can be null . This property usually makes sense only for components that implement the IThreadSafe interface.

Returns:
the date and time of the creation of the component instance. Can be null .

getLastReconfigurationDate

public Date getLastReconfigurationDate()
Returns the date and time of the last reconfiguration of this component. Can be null .

Returns:
the date and time of the last reconfiguration of this component. Can be null .

getNextAutoRestartDate

public Date getNextAutoRestartDate()
Returns the date and time of the next automatic restart of the component. Can be null .

Returns:
the date and time of the next automatic restart of the component. Can be null .
See Also:
AutoRestartException


Copyright 2006 SAP AG Complete Copyright Notice