|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
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(Class<T> serviceClass)
Gets a service implementation given the interface class. |
|
|
getService(Class<T> serviceClass,
String name)
Gets a service implementation given the interface class and a name. |
Method Detail |
---|
<T> T getService(Class<T> serviceClass) throws Exception
T
- serviceClass
- the service interface class
Exception
<T> T getService(Class<T> serviceClass, String name) throws 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
Exception
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |