|
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 ServiceProvider
A service provider.
A service provider is used by the framework to be able to change the way local services are found.
For example you may want to use a simple service provider for testing pourpose to avoid loading the nuxeo runtime framework to register services.
To set a service provider use:
DefaultServiceProvider.setProvider(ServiceProvider)
Method Summary | ||
---|---|---|
|
getService(Class<T> serviceClass)
Gets the service instance given its API class. |
Method Detail |
---|
<T> T getService(Class<T> serviceClass)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |