|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.protocol.webdav.repository.monitor.ServerCollection
public final class ServerCollection
Holds runtime (crt) objects for each registered IServerComponent.
Copyright (c) SAP AG 2002-2004
| Field Summary | |
|---|---|
static String |
NAME
|
| Constructor Summary | |
|---|---|
ServerCollection()
|
|
| Method Summary | |
|---|---|
void |
contextualize(IContext context)
Pass the context to the component. |
IComponentManager |
getComponentManager()
Returns the component manager for accessing this container's child components. |
Date |
getCreationDate()
Returns the date and time of the creation of the component instance. |
String |
getDescription(Locale locale)
Returns a description of the components purpose or null . |
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. |
String |
getName()
Returns the component's human-readable name or null . |
Date |
getNextAutoRestartDate()
Returns the date and time of the next automatic restart of the component. |
Properties |
getProperties()
Returns some arbitrary properties with information about the component or null . |
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. |
void |
register(IServerComponent server)
|
void |
unregister(IServerComponent server)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
| Constructor Detail |
|---|
public ServerCollection()
| Method Detail |
|---|
public void register(IServerComponent server)
throws Exception
register in interface IServerRegistryExceptionpublic void unregister(IServerComponent server)
unregister in interface IServerRegistrypublic IComponentManager getComponentManager()
IContainer
getComponentManager in interface IContainer
public void contextualize(IContext context)
throws ContextException
IContextualizable
contextualize in interface IContextualizablecontext - The context objects
ContextException - if the context is invalidpublic Date getCreationDate()
ILifecycleInfonull . This property usually makes sense only for components
that implement the IThreadSafe interface.
- Specified by:
getCreationDate in interface ILifecycleInfo
- Returns:
- the date and time of the creation of the component instance. Can be
null .
public Date getLastReconfigurationDate()
ILifecycleInfonull .
- Specified by:
getLastReconfigurationDate in interface ILifecycleInfo
- Returns:
- the date and time of the last reconfiguration of this component.
Can be
null .
public Date getNextAutoRestartDate()
ILifecycleInfonull .
- Specified by:
getNextAutoRestartDate in interface ILifecycleInfo
- Returns:
- the date and time of the next automatic restart of the component.
Can be
null .- See Also:
AutoRestartException
public StartupException getStartupException()
ILifecycleInfoIStartable.start(),
Can be null .
getStartupException in interface ILifecycleInfopublic ComponentState getState()
ILifecycleInfonull
.
- Specified by:
getState in interface ILifecycleInfo
- Returns:
- the current life-cycle state of the component. Can be
null
.
public ConfigurationException getLastConfigurationException()
ILifecycleInfoIConfigurable.configure(IConfiguration),
or IReconfigurable.reconfigure(IConfiguration). Can be
null .
getLastConfigurationException in interface ILifecycleInfopublic String getDescription(Locale locale)
IComponentInfonull .
getDescription in interface IComponentInfolocale - Selects the language of the description text - can be
null .
null .public String getName()
IComponentInfonull .
getName in interface IComponentInfonull .public Properties getProperties()
IComponentInfonull .
getProperties in interface IComponentInfonull .| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||