org.eclipse.higgins.sts.utilities
Class ObjectFactoryHelper

java.lang.Object
  extended by org.eclipse.higgins.sts.utilities.ObjectFactoryHelper

public class ObjectFactoryHelper
extends java.lang.Object

Convenience class that implements code required to get a singleton instance from an ObejctFactory.

Author:
mikemci@us.ibm.com

Constructor Summary
ObjectFactoryHelper()
           
 
Method Summary
static java.lang.Object getSingletonFromFactory(java.lang.String factoryClassName)
          Load the class by name then creates an instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactoryHelper

public ObjectFactoryHelper()
Method Detail

getSingletonFromFactory

public static java.lang.Object getSingletonFromFactory(java.lang.String factoryClassName)
Load the class by name then creates an instance

Parameters:
factoryClassName - the name of the class to load and create an instance from
Returns:
the singleton instance