|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TurbineServiceProvider
Interface for telling Turbine that the implementation class is an external service provider therefore can be used for looking up services not found by the Turbine implementation. It is assumed that the referenced service container handles the complete lifecycle of its services.
Method Summary | |
---|---|
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. |
Method Detail |
---|
Object get(String roleName) throws InstantiationException
roleName
- the name of the requested service
InstantiationException
- the service could not be instantiatedvoid release(Object component)
component
- the component to releaseboolean exists(String roleName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |