OCPsoft Common API 1.0.5.Final

org.ocpsoft.common.spi
Interface ServiceLocator


public interface ServiceLocator

Locates additional service implementation classes to be instantiated by the ServiceLoader

Author:
Lincoln Baxter, III

Method Summary
<T> Collection<Class<T>>
locate(Class<T> type)
          Locate additional class types of which can be produced by this ServiceLocator.
 

Method Detail

locate

<T> Collection<Class<T>> locate(Class<T> type)
Locate additional class types of which can be produced by this ServiceLocator. If no services could be located, this method must return an empty collection.


OCPsoft Common API 1.0.5.Final

Copyright © 2012 OCPsoft. All Rights Reserved.