public interface TurbineServiceProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String roleName)
Is the service known to the service container?
|
Object |
get(String roleName)
Returns an instance of the requested service.
|
void |
release(Object component)
Releases the instance you got before.
|
Object get(String roleName) throws InstantiationException
roleName - the name of the requested serviceInstantiationException - the service could not be instantiatedvoid release(Object component)
component - the component to releaseboolean exists(String roleName)
roleName - the name of the requested serviceCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.