wt.transfer.delegate
Class AbstractTransferDelegate

java.lang.Object
  extended bywt.transfer.delegate.AbstractTransferDelegate
All Implemented Interfaces:
BasicTransferDelegate, TransferDelegate
Direct Known Subclasses:
AbstractExportDelegate, AbstractImportDelegate, DefaultAdHocBasedTransferDelegate

public abstract class AbstractTransferDelegate
extends Object
implements BasicTransferDelegate

Provides value-add functionality that all transfer delegates can emply.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Constructor Summary
AbstractTransferDelegate()
           
 
Method Summary
protected  void dispatchVetoableEvent(String eventType, Persistable object)
          Dispatches a TransferServiceEvent that includes the event type and target (i.e., Persistable object).
 void invoke(TransferOperation operation)
          

Supported API: false
 Object newInstance(String classname)
          

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface wt.transfer.delegate.BasicTransferDelegate
doExport, doImport
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

AbstractTransferDelegate

public AbstractTransferDelegate()
Method Detail

newInstance

public final Object newInstance(String classname)
                         throws TransferDelegateException


Supported API: false

Parameters:
classname -
Returns:
Object
Throws:
TransferDelegateException

invoke

public final void invoke(TransferOperation operation)
                  throws WTException,
                         TransferException


Supported API: false

Specified by:
invoke in interface TransferDelegate
Parameters:
operation -
Throws:
WTException
TransferException

dispatchVetoableEvent

protected void dispatchVetoableEvent(String eventType,
                                     Persistable object)
                              throws WTException,
                                     WTPropertyVetoException
Dispatches a TransferServiceEvent that includes the event type and target (i.e., Persistable object).

Supported API: false

Parameters:
eventType - The name of the PersistentManagerEvent type.
object - The target of the import/export operation.
Throws:
WTException
WTPropertyVetoException