org.openejb.util
Class ResourceFinder

java.lang.Object
  extended byorg.openejb.util.ResourceFinder

public class ResourceFinder
extends Object


Constructor Summary
ResourceFinder(String path)
           
ResourceFinder(String path, ClassLoader classLoader)
           
 
Method Summary
 List findAllClasses(String key)
           
 List findAllImplementations(Class interfase)
           
 List findAllProperties(String key)
           
 List findAllStrings(String key)
           
 List findAvailableClasses(String key)
           
 List findAvailableImplementations(Class interfase)
           
 List findAvailableProperties(String key)
           
 List findAvailableStrings(String key)
           
 Class findClass(String key)
           
 Class findImplementation(Class interfase)
           
 Properties findProperties(String key)
           
 String findString(String key)
           
 Map getResourcesMap(String key)
           
 Map mapAllClasses(String key)
           
 Map mapAllImplementations(Class interfase)
           
 Map mapAllProperties(String key)
           
 Map mapAllStrings(String key)
           
 Map mapAvailableClasses(String key)
           
 Map mapAvailableImplementations(Class interfase)
           
 Map mapAvailableProperties(String key)
           
 Map mapAvailableStrings(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFinder

public ResourceFinder(String path)

ResourceFinder

public ResourceFinder(String path,
                      ClassLoader classLoader)
Method Detail

findString

public String findString(String key)
                  throws IOException
Throws:
IOException

findAllStrings

public List findAllStrings(String key)
                    throws IOException
Throws:
IOException

findAvailableStrings

public List findAvailableStrings(String key)
                          throws IOException
Throws:
IOException

mapAllStrings

public Map mapAllStrings(String key)
                  throws IOException
Throws:
IOException

mapAvailableStrings

public Map mapAvailableStrings(String key)
                        throws IOException
Throws:
IOException

findClass

public Class findClass(String key)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

findAllClasses

public List findAllClasses(String key)
                    throws IOException,
                           ClassNotFoundException
Throws:
IOException
ClassNotFoundException

findAvailableClasses

public List findAvailableClasses(String key)
                          throws IOException
Throws:
IOException

mapAllClasses

public Map mapAllClasses(String key)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

mapAvailableClasses

public Map mapAvailableClasses(String key)
                        throws IOException
Throws:
IOException

findImplementation

public Class findImplementation(Class interfase)
                         throws IOException,
                                ClassNotFoundException
Throws:
IOException
ClassNotFoundException

findAllImplementations

public List findAllImplementations(Class interfase)
                            throws IOException,
                                   ClassNotFoundException
Throws:
IOException
ClassNotFoundException

findAvailableImplementations

public List findAvailableImplementations(Class interfase)
                                  throws IOException
Throws:
IOException

mapAllImplementations

public Map mapAllImplementations(Class interfase)
                          throws IOException,
                                 ClassNotFoundException
Throws:
IOException
ClassNotFoundException

mapAvailableImplementations

public Map mapAvailableImplementations(Class interfase)
                                throws IOException
Throws:
IOException

findProperties

public Properties findProperties(String key)
                          throws IOException
Throws:
IOException

findAllProperties

public List findAllProperties(String key)
                       throws IOException
Throws:
IOException

findAvailableProperties

public List findAvailableProperties(String key)
                             throws IOException
Throws:
IOException

mapAllProperties

public Map mapAllProperties(String key)
                     throws IOException
Throws:
IOException

mapAvailableProperties

public Map mapAvailableProperties(String key)
                           throws IOException
Throws:
IOException

getResourcesMap

public Map getResourcesMap(String key)
                    throws IOException
Throws:
IOException


Copyright © 1999-2007 OpenEJB. All Rights Reserved.