|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Registry
Represents a service registry which may be implemented via a Spring ApplicationContext, via JNDI, a simple Map or the OSGI Service Registry
| Method Summary | ||
|---|---|---|
Object |
lookup(String name)
Looks up a service in the registry based purely on name, returning the service or null if it could not be found. |
|
|
lookup(String name,
Class<T> type)
Looks up a service in the registry, returning the service or null if it could not be found. |
|
| Method Detail |
|---|
<T> T lookup(String name,
Class<T> type)
name - the name of the servicetype - the type of the required service
Object lookup(String name)
name - the name of the service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||