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 java.lang.Object
- implements FactoryFinder.ObjectFactory
The default implementation of Object factory which works well in standalone applications.
Method Summary |
java.lang.Object |
create(java.lang.String path)
|
static java.lang.Class |
loadClass(java.util.Properties properties)
|
static java.util.Properties |
loadProperties(java.lang.String uri)
|
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 java.lang.Object create(java.lang.String path)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException,
java.io.IOException
- Specified by:
create
in interface FactoryFinder.ObjectFactory
- Parameters:
path
- the full service path
- Returns:
-
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.io.IOException
loadClass
public static java.lang.Class loadClass(java.util.Properties properties)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
loadProperties
public static java.util.Properties loadProperties(java.lang.String uri)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2005-2016. All Rights Reserved.