|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dpml.lang.StandardServiceRegistry
public class StandardServiceRegistry
Default service registry implementation that resolves services via services resolvable using java.util.ServiceLoader.
| Constructor Summary | |
|---|---|
StandardServiceRegistry()
Creation of a new service registry with no parent. |
|
StandardServiceRegistry(ServiceRegistry parent)
Creation of a new service registry with fallback delegation to a parent registry. |
|
| Method Summary | ||
|---|---|---|
|
lookup(Class<T> type)
Matches a service in the registry with the supplied type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardServiceRegistry()
public StandardServiceRegistry(ServiceRegistry parent)
parent - an optional parent registry| Method Detail |
|---|
public <T> T lookup(Class<T> type)
lookup in interface ServiceRegistrytype - the service type to locate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||