org.apache.activemq.util
public static interface FactoryFinder.ObjectFactory
FactoryFinder.setObjectFactory(org.apache.activemq.util.FactoryFinder.ObjectFactory)
method with a custom implementation of ObjectFactory.
The default ObjectFactory is typically changed out when running in a specialized container
environment where service discovery needs to be done via the container system. For example,
in an OSGi scenario.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
create(java.lang.String path) |
java.lang.Object create(java.lang.String path) throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.io.IOException, java.lang.ClassNotFoundException
path
- the full service pathjava.lang.IllegalAccessException
java.lang.InstantiationException
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2005-2014. All Rights Reserved.