org.apache.commons.discovery
Interface ResourceClassDiscover<T>

Type Parameters:
T - The SPI type
All Superinterfaces:
ResourceDiscover, ResourceNameDiscover
All Known Implementing Classes:
DiscoverClasses, ResourceClassDiscoverImpl

public interface ResourceClassDiscover<T>
extends ResourceDiscover

SPI Discovery.


Method Summary
 ResourceClassIterator<T> findResourceClasses(ResourceNameIterator classNames)
          Locate class resources that are bound to resourceNames.
 ResourceClassIterator<T> findResourceClasses(String className)
          Locate class resources that are bound to className.
 
Methods inherited from interface org.apache.commons.discovery.ResourceDiscover
findResources, findResources
 
Methods inherited from interface org.apache.commons.discovery.ResourceNameDiscover
findResourceNames, findResourceNames
 

Method Detail

findResourceClasses

ResourceClassIterator<T> findResourceClasses(String className)
Locate class resources that are bound to className.

Parameters:
className - The class name has to be located
Returns:
The iterator over the located classes

findResourceClasses

ResourceClassIterator<T> findResourceClasses(ResourceNameIterator classNames)
Locate class resources that are bound to resourceNames.

Parameters:
classNames - The classes name has to be located
Returns:
The iterator over the located classes


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.