|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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
| Method Summary | |
boolean |
hasComponent(java.lang.String key)
Returns true if the component with the specified key exists. |
java.lang.String[] |
listComponentKeys()
Returns an array of the keys of all components contained in this manager. |
IComponent |
lookupComponent(java.lang.String key)
Returns the component instance for the specified key or null
if the component was not found. |
void |
releaseComponent(IComponent component)
Releases the component. |
| Method Detail |
public IComponent lookupComponent(java.lang.String key)
throws ComponentException
null
if the component was not found.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.public boolean hasComponent(java.lang.String key)
key - The component key to look for. Keys are case-sensitive.public void releaseComponent(IComponent component)
IThreadSafe interface - it is optional for
thread-safe components.component - A reference to the component to release.public java.lang.String[] listComponentKeys()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||