com.sapportals.wcm.crt.component

Interface ILifecycleInfo

All Known Subinterfaces:
IComponentManager.IComponentInformation
All Known Implementing Classes:
AbstractContentFilterManager, AbstractContentFilterManager2, AbstractFilterManager, AbstractManager, AbstractNamespaceFilterManager, AbstractNamespaceFilterManagerEnums, AbstractPropertyFilterManager, AbstractRepositoryService, AbstractRidFilterManager, AbstractService, AbstractUriFilterManager, ComponentStateHandler, ServerCollection, ServerProxy, WastebasketService

public interface ILifecycleInfo

This interface can be implemented 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

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

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

Returns:
the last configuration exception. Can be null.

getStartupException

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

Returns:
the startup exception. Can be null.

getCreationDate

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

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

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
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice