org.apache.activemq.util
Class FactoryFinder.StandaloneObjectFactory

java.lang.Object
  extended by org.apache.activemq.util.FactoryFinder.StandaloneObjectFactory
All Implemented Interfaces:
FactoryFinder.ObjectFactory
Enclosing class:
FactoryFinder

protected static class FactoryFinder.StandaloneObjectFactory
extends Object
implements FactoryFinder.ObjectFactory

The default implementation of Object factory which works well in standalone applications.


Constructor Summary
protected FactoryFinder.StandaloneObjectFactory()
           
 
Method Summary
 Object create(String path)
           
static Class loadClass(Properties properties)
           
static Properties loadProperties(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryFinder.StandaloneObjectFactory

protected FactoryFinder.StandaloneObjectFactory()
Method Detail

create

public Object create(String path)
              throws InstantiationException,
                     IllegalAccessException,
                     ClassNotFoundException,
                     IOException
Specified by:
create in interface FactoryFinder.ObjectFactory
Parameters:
path - the full service path
Returns:
Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
IOException

loadClass

public static Class loadClass(Properties properties)
                       throws ClassNotFoundException,
                              IOException
Throws:
ClassNotFoundException
IOException

loadProperties

public static Properties loadProperties(String uri)
                                 throws IOException
Throws:
IOException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.