org.apache.openejb.util
Class FactoryFinder
java.lang.Object
org.apache.openejb.util.FactoryFinder
public class FactoryFinder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryFinder
public FactoryFinder(String path)
newInstance
public Object newInstance(String key)
throws IllegalAccessException,
InstantiationException,
IOException,
ClassNotFoundException
- Creates a new instance of the given key
- Parameters:
key
- is the key to add to the path to find a text file
containing the factory name
- Returns:
- a newly created instance
- Throws:
IllegalAccessException
InstantiationException
IOException
ClassNotFoundException
newInstance
public Object newInstance(String key,
String propertyPrefix)
throws IllegalAccessException,
InstantiationException,
IOException,
ClassNotFoundException
- Throws:
IllegalAccessException
InstantiationException
IOException
ClassNotFoundException
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.