jef.deepCopier.impl
Class DCFactory

java.lang.Object
  extended by jef.deepCopier.impl.DCFactory
All Implemented Interfaces:
DeepCopierFactory

public class DCFactory
extends java.lang.Object
implements DeepCopierFactory

Concrete default implementation of the DeepCopierFactory interface.

Author:
Francesco Russo frusso@dev.java.net

Field Summary
 
Fields inherited from interface jef.deepCopier.DeepCopierFactory
STATEFUL_DEEP_COPIER
 
Constructor Summary
DCFactory()
           
 
Method Summary
 DeepCopier getInstance(byte type)
          Returns an instance of a concrete DeepCopier implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DCFactory

public DCFactory()
Method Detail

getInstance

public DeepCopier getInstance(byte type)
                       throws UnknownDeepCopierException
Returns an instance of a concrete DeepCopier implementation. The type parameter specifies which particular implementation is required.

Specified by:
getInstance in interface DeepCopierFactory
Parameters:
type - The required DeepCopier type
Throws:
UnknownDeepCopierException - The requested type is unknown