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