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 java.lang.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 java.lang.Objectcreate(java.lang.String path)java.util.PropertiesloadProperties(java.lang.String uri)
-
-
-
Method Detail
-
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:
createin interfaceFactoryFinder.ObjectFactory- Parameters:
path- the full service path- Returns:
- Object
- Throws:
java.lang.InstantiationException- on instantiation errorjava.lang.IllegalAccessException- illegal accessjava.lang.ClassNotFoundException- On class not found errorjava.io.IOException- On IO Error
-
loadProperties
public java.util.Properties loadProperties(java.lang.String uri) throws java.io.IOException- Throws:
java.io.IOException
-
-