net.dpml.lang
Interface ServiceRegistry

All Known Implementing Classes:
ComponentStrategy, SimpleServiceRegistry, StandardServiceRegistry

public interface ServiceRegistry

Service registry interface.

Version:
2.1.1
Author:
Digital Product Management Library

Method Summary
<T> T
lookup(Class<T> service)
          Lookup a service implementing the supplied service type.
 

Method Detail

lookup

<T> T lookup(Class<T> service)
Lookup a service implementing the supplied service type.

Parameters:
service - a class identifying the service type
Returns:
an instance of the service type or null if unresolved