|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentManager
...
| Field Summary | |
|---|---|
static String |
SAKAI_COMPONENTS_ROOT_SYS_PROP
The java system property name where the full path to the components packages. |
| Method Summary | |
|---|---|
void |
close()
Close the component manager, shutting down any created singletons. |
boolean |
contains(Class iface)
Check if this interface Class has a registered component. |
boolean |
contains(String ifaceName)
Check if this interface Class name has a registered component. |
Object |
get(Class iface)
Find a component that is registered to provide this interface. |
Object |
get(String ifaceName)
Find a component that is registered to provide this interface. |
Properties |
getConfig()
Deprecated. This method is redundant, not used by any known client, would expose implementation details, and will be removed in a future release. Use the ServerConfigurationService instead. |
Set<String> |
getRegisteredInterfaces()
Get all interfaces registered in the component manager. |
boolean |
hasBeenClosed()
Check if the ComponentManager has already been or is in the processing of being closed. |
void |
loadComponent(Class iface,
Object component)
Load a singleton already created component for this interface class as a singleton. |
void |
loadComponent(String ifaceName,
Object component)
Load a singleton already created component for this interface class as a singleton. |
void |
waitTillConfigured()
Deprecated. |
| Field Detail |
|---|
static final String SAKAI_COMPONENTS_ROOT_SYS_PROP
| Method Detail |
|---|
Object get(Class iface)
iface - The interface Class.
Object get(String ifaceName)
ifaceName - The fully qualified interface Class name.
boolean contains(Class iface)
iface - The interface Class.
boolean contains(String ifaceName)
ifaceName - The fully qualified interface Class name.
Set<String> getRegisteredInterfaces()
void loadComponent(Class iface,
Object component)
iface - The interface class.component - The alread created component.
void loadComponent(String ifaceName,
Object component)
ifaceName - The fully qualified interface Class name.component - The alread created component.void close()
@Deprecated Properties getConfig()
void waitTillConfigured()
boolean hasBeenClosed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||