public abstract class AbstractFileReplicator extends Object implements IFileReplicator
Constructor and Description |
---|
AbstractFileReplicator() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Allows the replicator to complete pending operation and free any
used resources.
|
WebFileReplication |
getWebFileReplication()
Returns the WebFileReplication with the information of the target
repository.
|
void |
initialize()
Initializes this file replicator.
|
void |
setWebFileReplication(WebFileReplication replication)
Provides replication information.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, write
public void initialize() throws FileReplicationException
IFileReplicator
initialize
in interface IFileReplicator
FileReplicationException
- if a problem prevents the file
replication to be done.public void dispose() throws FileReplicationException
IFileReplicator
After this method is called, the replicator will not be used anymore, unless it is reinitialized.
dispose
in interface IFileReplicator
FileReplicationException
- if a problem prevents pending file
replications to be done. Even if this exception is thrown, the replicator
must free any allocated resource.public void setWebFileReplication(WebFileReplication replication)
IFileReplicator
setWebFileReplication
in interface IFileReplicator
replication
- the WebFileReplication that contains information about the
next replication to be processed.public WebFileReplication getWebFileReplication()
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.