public final class ServerCollection extends Object implements IComponent, IContainer, IContextualizable, IThreadSafe, ILifecycleInfo, IComponentInfo, IServerRegistry
Copyright (c) SAP AG 2002-2004
Constructor and Description |
---|
ServerCollection() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final String NAME
public void register(IServerComponent server) throws Exception
register
in interface IServerRegistry
Exception
public void unregister(IServerComponent server)
unregister
in interface IServerRegistry
public IComponentManager getComponentManager()
IContainer
getComponentManager
in interface IContainer
public void contextualize(IContext context) throws ContextException
IContextualizable
contextualize
in interface IContextualizable
context
- The context objectsContextException
- if the context is invalidpublic Date getCreationDate()
ILifecycleInfo
null
. This property usually makes sense only for components
that implement the IThreadSafe interface.getCreationDate
in interface ILifecycleInfo
null
.public Date getLastReconfigurationDate()
ILifecycleInfo
null
.getLastReconfigurationDate
in interface ILifecycleInfo
null
.public Date getNextAutoRestartDate()
ILifecycleInfo
null
.getNextAutoRestartDate
in interface ILifecycleInfo
null
.AutoRestartException
public StartupException getStartupException()
ILifecycleInfo
IStartable.start()
,
Can be null
.getStartupException
in interface ILifecycleInfo
null
.public ComponentState getState()
ILifecycleInfo
null
.getState
in interface ILifecycleInfo
null
.public ConfigurationException getLastConfigurationException()
ILifecycleInfo
IConfigurable.configure(IConfiguration)
,
or IReconfigurable.reconfigure(IConfiguration)
. Can be
null
.getLastConfigurationException
in interface ILifecycleInfo
null
.public String getDescription(Locale locale)
IComponentInfo
null
.getDescription
in interface IComponentInfo
locale
- Selects the language of the description text - can be
null
.null
.public String getName()
IComponentInfo
null
.getName
in interface IComponentInfo
null
.public Properties getProperties()
IComponentInfo
null
.getProperties
in interface IComponentInfo
null
.Access Rights |
---|
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 2018 SAP AG Complete Copyright Notice