|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceManager
A service manager. This interface was created to be able to plug different service managers in Framework.
Method Summary | ||
---|---|---|
|
getService(java.lang.Class<T> serviceClass)
Gets a service implementation given the interface class. |
|
|
getService(java.lang.Class<T> serviceClass,
java.lang.String name)
Gets a service implementation given the interface class and a name. |
Method Detail |
---|
<T> T getService(java.lang.Class<T> serviceClass) throws java.lang.Exception
T
- serviceClass
- the service interface class
java.lang.Exception
<T> T getService(java.lang.Class<T> serviceClass, java.lang.String name) throws java.lang.Exception
This is useful to lookup services that are not singletons and can be identified using a service name.
T
- serviceClass
- the service interface classname
- the service name
java.lang.Exception
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |