org.jboss.util.builder
Class AbstractBuilder<T>
java.lang.Object
org.jboss.util.builder.AbstractBuilder<T>
- Type Parameters:
T
- the type to be built
- All Implemented Interfaces:
- PrivilegedAction<T>
public class AbstractBuilder<T>
- extends Object
- implements PrivilegedAction<T>
AbstractBuilder.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock, Thomas.Diesler@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBuilder
public AbstractBuilder(Class<T> factoryClass,
String defaultFactory)
- Create a new AbstractBuilder.
- Parameters:
factoryClass
- the factory classdefaultFactory
- the default factory
- Throws:
IllegalArgumentException
- for a null parameter
run
public T run()
- Specified by:
run
in interface PrivilegedAction<T>
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.