Class FactoryFinder.StandaloneObjectFactory
java.lang.Object
org.apache.activemq.artemis.utils.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 TypeMethodDescriptionCreates anObjectbased on the inputloadProperties(String uri)
-
Constructor Details
-
StandaloneObjectFactory
protected StandaloneObjectFactory()
-
-
Method Details
-
create
public Object create(String path) throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException Description copied from interface:FactoryFinder.ObjectFactoryCreates anObjectbased on the input- Specified by:
createin interfaceFactoryFinder.ObjectFactory- Parameters:
path- the full service path- Returns:
Object- Throws:
InstantiationException- on instantiation errorIllegalAccessException- illegal accessClassNotFoundException- On class not found errorIOException- On IO Error
-
loadProperties
- Throws:
IOException
-