org.apache.activemq.util
Interface FactoryFinder.ObjectFactory
- All Known Implementing Classes:
- Activator, FactoryFinder.StandaloneObjectFactory
- Enclosing class:
- FactoryFinder
public static interface FactoryFinder.ObjectFactory
The strategy that the FactoryFinder uses to find load and instantiate Objects
can be changed out by calling the
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.
Method Summary |
java.lang.Object |
create(java.lang.String path)
|
create
java.lang.Object create(java.lang.String path)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.io.IOException,
java.lang.ClassNotFoundException
- Parameters:
path
- the full service path
- Returns:
-
- Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2005-2011. All Rights Reserved.