JBoss Common Classes 2.2.17.GA

org.jboss.util.builder
Class AbstractBuilder<T>

java.lang.Object
  extended by 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

Constructor Summary
AbstractBuilder(Class<T> factoryClass, String defaultFactory)
          Create a new AbstractBuilder.
 
Method Summary
 T run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBuilder

public AbstractBuilder(Class<T> factoryClass,
                       String defaultFactory)
Create a new AbstractBuilder.

Parameters:
factoryClass - the factory class
defaultFactory - the default factory
Throws:
IllegalArgumentException - for a null parameter
Method Detail

run

public T run()
Specified by:
run in interface PrivilegedAction<T>

JBoss Common Classes 2.2.17.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.