org.jboss.soa.esb.common
Class Factory

java.lang.Object
  extended by org.jboss.soa.esb.common.Factory
Direct Known Subclasses:
ContentBasedRouterFactory, RegistryFactory

public abstract class Factory
extends java.lang.Object

Base class to find a class on the classpath.

Author:
kurt.stam@redhat.com

Constructor Summary
Factory()
           
 
Method Summary
protected static java.lang.Class getClassForName(java.lang.String className)
          Loads the class with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factory

public Factory()
Method Detail

getClassForName

protected static java.lang.Class getClassForName(java.lang.String className)
                                          throws java.lang.ClassNotFoundException
Loads the class with the given name.

Parameters:
className - - the className to be found
Returns:
- the class
Throws:
java.lang.ClassNotFoundException