org.sysunit
Class TBeanManagerFactory
java.lang.Object
org.sysunit.TBeanManagerFactory
public class TBeanManagerFactory
- extends Object
Entry-point for creating a TBeanMaager.
The property org.sysunit.TBeanManager is inspected
and if non-null, the value is used as the default TBeanManager
class for running tests.
If the org.sysunit.TBeanManager property is not set,
then the default LocalTBeanManager
- Version:
- $Id: TBeanManagerFactory.java,v 1.1 2003/06/04 04:27:19 werken Exp $
- Author:
- Bob McWhirter
- See Also:
TBeanManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CLASSNAME
public static final String DEFAULT_CLASSNAME
- Default
TBeanManager class name.
TBeanManagerFactory
public TBeanManagerFactory()
newTBeanManager
public static TBeanManager newTBeanManager()
throws Exception
- Create a new
TBeanManager.
Inspects the value of org.sysunit.TBeanManager property
if set, and returns a new instance of the specified class, otherwise
the DEFAULT_CLASSNAME specifies that LocalTBeanManager
will be used.
- Returns:
- The new
TBeanManager instance.
- Throws:
Exception - If an error occurs while attempting to lookup
the class and instantiate the object.
Copyright © 2003-2009 SpritSoft, Inc.. All Rights Reserved.