|
OCPsoft Common API 1.0.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceEnricher
Provides enriching for services loaded with ServiceLoader
| Method Summary | ||
|---|---|---|
|
enrich(T service)
Enrich an instantiated instance of the given service type. |
|
|
produce(Class<T> type)
Produce a Collection of enriched services of the given type. |
|
| Method Detail |
|---|
<T> Collection<T> produce(Class<T> type)
Collection of enriched services of the given type. If no instances were produced, this method
must return an empty Collection. Only one ServiceEnricher may produce a service at any given time.
If more than one ServiceEnricher may produce the same service, only the first will be used.
<T> void enrich(T service)
ServiceEnricher; in that case, enrichment should have already taken place at the time of
production.
|
OCPsoft Common API 1.0.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||