OCPsoft Common API 1.0.4.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> java.util.Collection<java.lang.Class<T>>
locate(java.lang.Class<T> type)
          Locate additional class types of which can be produced by this ServiceLocator.
 

Method Detail

locate

<T> java.util.Collection<java.lang.Class<T>> locate(java.lang.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.4.Final

Copyright © 2012 OCPsoft. All Rights Reserved.