Package 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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class
loadClass
(Properties properties) static Properties
loadProperties
(String uri)
-
Constructor Details
-
StandaloneObjectFactory
protected StandaloneObjectFactory()
-
-
Method Details
-
create
public Object create(String path) throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException - Specified by:
create
in interfaceFactoryFinder.ObjectFactory
- Parameters:
path
- the full service path- Returns:
- Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
IOException
-
loadClass
- Throws:
ClassNotFoundException
IOException
-
loadProperties
- Throws:
IOException
-