org.openejb.util
Class ResourceFinder

java.lang.Object
  extended by org.openejb.util.ResourceFinder

public class ResourceFinder
extends java.lang.Object


Constructor Summary
ResourceFinder(java.lang.String path)
           
ResourceFinder(java.lang.String path, java.lang.ClassLoader classLoader)
           
 
Method Summary
 java.util.List findAllClasses(java.lang.String key)
           
 java.util.List findAllImplementations(java.lang.Class interfase)
           
 java.util.List findAllProperties(java.lang.String key)
           
 java.util.List findAllStrings(java.lang.String key)
           
 java.util.List findAvailableClasses(java.lang.String key)
           
 java.util.List findAvailableImplementations(java.lang.Class interfase)
           
 java.util.List findAvailableProperties(java.lang.String key)
           
 java.util.List findAvailableStrings(java.lang.String key)
           
 java.lang.Class findClass(java.lang.String key)
           
 java.lang.Class findImplementation(java.lang.Class interfase)
           
 java.util.Properties findProperties(java.lang.String key)
           
 java.lang.String findString(java.lang.String key)
           
 java.util.Map getResourcesMap(java.lang.String key)
           
 java.util.Map mapAllClasses(java.lang.String key)
           
 java.util.Map mapAllImplementations(java.lang.Class interfase)
           
 java.util.Map mapAllProperties(java.lang.String key)
           
 java.util.Map mapAllStrings(java.lang.String key)
           
 java.util.Map mapAvailableClasses(java.lang.String key)
           
 java.util.Map mapAvailableImplementations(java.lang.Class interfase)
           
 java.util.Map mapAvailableProperties(java.lang.String key)
           
 java.util.Map mapAvailableStrings(java.lang.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(java.lang.String path)

ResourceFinder

public ResourceFinder(java.lang.String path,
                      java.lang.ClassLoader classLoader)
Method Detail

findString

public java.lang.String findString(java.lang.String key)
                            throws java.io.IOException
Throws:
java.io.IOException

findAllStrings

public java.util.List findAllStrings(java.lang.String key)
                              throws java.io.IOException
Throws:
java.io.IOException

findAvailableStrings

public java.util.List findAvailableStrings(java.lang.String key)
                                    throws java.io.IOException
Throws:
java.io.IOException

mapAllStrings

public java.util.Map mapAllStrings(java.lang.String key)
                            throws java.io.IOException
Throws:
java.io.IOException

mapAvailableStrings

public java.util.Map mapAvailableStrings(java.lang.String key)
                                  throws java.io.IOException
Throws:
java.io.IOException

findClass

public java.lang.Class findClass(java.lang.String key)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

findAllClasses

public java.util.List findAllClasses(java.lang.String key)
                              throws java.io.IOException,
                                     java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

findAvailableClasses

public java.util.List findAvailableClasses(java.lang.String key)
                                    throws java.io.IOException
Throws:
java.io.IOException

mapAllClasses

public java.util.Map mapAllClasses(java.lang.String key)
                            throws java.io.IOException,
                                   java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

mapAvailableClasses

public java.util.Map mapAvailableClasses(java.lang.String key)
                                  throws java.io.IOException
Throws:
java.io.IOException

findImplementation

public java.lang.Class findImplementation(java.lang.Class interfase)
                                   throws java.io.IOException,
                                          java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

findAllImplementations

public java.util.List findAllImplementations(java.lang.Class interfase)
                                      throws java.io.IOException,
                                             java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

findAvailableImplementations

public java.util.List findAvailableImplementations(java.lang.Class interfase)
                                            throws java.io.IOException
Throws:
java.io.IOException

mapAllImplementations

public java.util.Map mapAllImplementations(java.lang.Class interfase)
                                    throws java.io.IOException,
                                           java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

mapAvailableImplementations

public java.util.Map mapAvailableImplementations(java.lang.Class interfase)
                                          throws java.io.IOException
Throws:
java.io.IOException

findProperties

public java.util.Properties findProperties(java.lang.String key)
                                    throws java.io.IOException
Throws:
java.io.IOException

findAllProperties

public java.util.List findAllProperties(java.lang.String key)
                                 throws java.io.IOException
Throws:
java.io.IOException

findAvailableProperties

public java.util.List findAvailableProperties(java.lang.String key)
                                       throws java.io.IOException
Throws:
java.io.IOException

mapAllProperties

public java.util.Map mapAllProperties(java.lang.String key)
                               throws java.io.IOException
Throws:
java.io.IOException

mapAvailableProperties

public java.util.Map mapAvailableProperties(java.lang.String key)
                                     throws java.io.IOException
Throws:
java.io.IOException

getResourcesMap

public java.util.Map getResourcesMap(java.lang.String key)
                              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.