public interface IComponentManager
Copyright (c) SAP AG 2001-2002
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IComponentManager.IComponentInformation
Defines a container for a compontent's information.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasComponent(String key)
Returns true if the component with the specified key exists.
|
String[] |
listComponentKeys()
Returns an array of the keys of all components contained in this manager.
|
IComponent |
lookupComponent(String key)
Returns the component instance for the specified key or
null
if the component was not found. |
IComponentManager.IComponentInformation |
lookupComponentInformation(String key)
Performs a lookup with the specified key and returns information about the component's current state.
|
void |
releaseComponent(IComponent component)
Releases the component.
|
IComponent lookupComponent(String key) throws ComponentException
null
if the component was not found. If the component was not started yet (state is NOT_INIT)
the manager will try to start it.key - The component key to look for. Keys are case-sensitive.
The caller must subseqently call releaseComponent() when
it is finished using the component. This is optional for thread-safe
components.
ComponentException - If the component could not be instanciated.boolean hasComponent(String key)
key - The component key to look for. Keys are case-sensitive.void releaseComponent(IComponent component)
IThreadSafe interface - it is optional for
thread-safe components.component - A reference to the component to release.String[] listComponentKeys()
IComponentManager.IComponentInformation lookupComponentInformation(String key) throws ComponentException
key - The component key to look for. Keys are case-sensitive.ComponentException - No Description| 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 2017 SAP AG Complete Copyright Notice