jef.deepCopier
Interface DeepCopierFactory
- All Known Implementing Classes:
- DCFactory
public interface DeepCopierFactory
This is the interface that defines the behavoiur of the concrete classes in charge of
instantiating DeepCopier
instances. Every DeepCopierFactory
implementation has to provide at least the DeepCopier
instances of the types
specified by the mnemonic constants defined by this interface.
- Author:
- Francesco Russo frusso@dev.java.net
Method Summary |
DeepCopier |
getInstance(byte type)
Returns an instance of a concrete DeepCopier implementation. |
STATEFUL_DEEP_COPIER
static final byte STATEFUL_DEEP_COPIER
- A non-sharable
DeepCopier
implementation.
- See Also:
- Constant Field Values
getInstance
DeepCopier getInstance(byte type)
throws UnknownDeepCopierException
- Returns an instance of a concrete
DeepCopier
implementation. The
type
parameter specifies which particular implementation is required.
- Parameters:
type
- The required DeepCopier
type
- Throws:
UnknownDeepCopierException
- The requested type is unknown