org.julp
Class DefaultInstantiator<T>

java.lang.Object
  extended by org.julp.DefaultInstantiator<T>
All Implemented Interfaces:
java.io.Serializable, Instantiator<T>

public class DefaultInstantiator<T>
extends java.lang.Object
implements Instantiator<T>

Used if Class domainClass extends AbstractDomainObject originally

See Also:
Serialized Form

Field Summary
private  java.util.logging.Logger logger
           
private static long serialVersionUID
           
 
Constructor Summary
DefaultInstantiator()
           
 
Method Summary
 T enhance(T instance)
           
 T newInstance(java.lang.Class domainClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

logger

private final transient java.util.logging.Logger logger
Constructor Detail

DefaultInstantiator

public DefaultInstantiator()
Method Detail

newInstance

public T newInstance(java.lang.Class domainClass)
Specified by:
newInstance in interface Instantiator<T>

enhance

public T enhance(T instance)
Specified by:
enhance in interface Instantiator<T>