|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IComponentManager
A component manager manages all root components of a CRT client or all components within a container component. Components are identified by a key.
Copyright (c) SAP AG 2001-2002
| Nested Class Summary | |
|---|---|
static interface |
IComponentManager.IComponentInformation
Defines a container for a compontent's information. |
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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| 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
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||