com.satline.util.factory
Class GenericFactory<P>

java.lang.Object
  extended by com.satline.util.factory.GenericFactory<P>

public abstract class GenericFactory<P>
extends java.lang.Object

Author:
Teubner

Constructor Summary
protected GenericFactory()
           
 
Method Summary
abstract  P createEntity(org.apache.commons.configuration.Configuration conf)
           
static
<X> GenericFactory<X>
getFactory(java.lang.Class<X> entityClass, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericFactory

protected GenericFactory()
Method Detail

getFactory

public static <X> GenericFactory<X> getFactory(java.lang.Class<X> entityClass,
                                               java.lang.String name)
                                    throws FactoryException
Throws:
FactoryException

createEntity

public abstract P createEntity(org.apache.commons.configuration.Configuration conf)
                        throws FactoryException
Throws:
FactoryException


Copyright © 2007 null. All Rights Reserved.