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 |
---|---|
Object |
create(String path) |
Object create(String path) throws IllegalAccessException, InstantiationException, IOException, ClassNotFoundException
path
- the full service pathIllegalAccessException
InstantiationException
IOException
ClassNotFoundException
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.