|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationServices
A service locator that can retrieve instances of a service by class type.
Method Summary | |
---|---|
boolean |
containsService(Class serviceType)
Determine if a service of the requested type is available. |
Object |
getService(Class serviceType)
Returns the application service of the requested type (class). |
Method Detail |
---|
Object getService(Class serviceType)
serviceType
- Type of service to locate
IllegalArgumentException
- if serviceType
is null.
ServiceNotFoundException
- if there is no service known for the
given serviceType.boolean containsService(Class serviceType)
serviceType
- Type of service to locate
IllegalArgumentException
- if serviceType
is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |