|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceFinder
Interface used to query for ServiceReferences. Each ServiceFinder is obtained from a specific Module, and the lookup rules are the following: 1) First look in the same Module as the ServiceLocator 2) Then look in the same Layer as the ServiceLocator. Any Services declared with Visibility Layer and Application should be included 3) Then look in the extended Layers. Any Services declared with Visibility Application should be included
Method Summary | ||
---|---|---|
|
findService(Type serviceType)
Find a ServiceReference that implements the given type. |
|
|
findServices(Type serviceType)
Find ServiceReferences that implements the given type. |
Method Detail |
---|
<T> ServiceReference<T> findService(Type serviceType)
serviceType
- the type that the Service must implement
<T> Iterable<ServiceReference<T>> findServices(Type serviceType)
serviceType
- the type that the Services must implement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |