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 Modifier Constructor Description protectedStandaloneObjectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcreate(String path)PropertiesloadProperties(String uri)
-
-
-
Method Detail
-
create
public Object create(String path) throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException
- 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
public Properties loadProperties(String uri) throws IOException
- Throws:
IOException
-
-