org.apache.activemq.util
Class FactoryFinder.StandaloneObjectFactory
java.lang.Object
org.apache.activemq.util.FactoryFinder.StandaloneObjectFactory
- All Implemented Interfaces:
- FactoryFinder.ObjectFactory
- Enclosing class:
- FactoryFinder
protected static class FactoryFinder.StandaloneObjectFactory
- extends Object
- implements FactoryFinder.ObjectFactory
The default implementation of Object factory which works well in standalone applications.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryFinder.StandaloneObjectFactory
protected FactoryFinder.StandaloneObjectFactory()
create
public Object create(String path)
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException,
IOException
- Specified by:
create
in interface FactoryFinder.ObjectFactory
- Parameters:
path
- the full service path
- Returns:
-
- Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
IOException
loadClass
public static Class loadClass(Properties properties)
throws ClassNotFoundException,
IOException
- Throws:
ClassNotFoundException
IOException
loadProperties
public static Properties loadProperties(String uri)
throws IOException
- Throws:
IOException
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.