Home » activemq-parent-5.3.1-source-release » org.apache » activemq » util » [javadoc | source]
public class: FactoryFinder [javadoc | source]
Nested Class Summary:
public interface  FactoryFinder.ObjectFactory  The strategey that the FactoryFinder uses to find load and instanciate Objects can be chagned out by calling the {@link org.apache.activemq.util.FactoryFinder#setObjectFactory(org.apache.activemq.util.FactoryFinder.ObjectFactory)} method with a custom implemenation of ObjectFactory. The default ObjectFactory is typically changed out when running in a specialized container enviorment where service discovery needs to be done via the container system. For example, in an OSGi scenario. 
protected static class  FactoryFinder.StandaloneObjectFactory  The default implementation of Object factory which works well in standalone applications. 
 public FactoryFinder(String path) 
Method from org.apache.activemq.util.FactoryFinder Summary:
getObjectFactory,   newInstance,   setObjectFactory
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.util.FactoryFinder Detail:
 public static ObjectFactory getObjectFactory() 
 public Object newInstance(String key) throws IllegalAccessException, InstantiationException, IOException, ClassNotFoundException 
    Creates a new instance of the given key
 public static  void setObjectFactory(ObjectFactory objectFactory)