Class AbstractFileReplicator

  • All Implemented Interfaces:
    IFileReplicator
    Direct Known Subclasses:
    FTPFileReplicator, LocalFileReplicator

    public abstract class AbstractFileReplicator
    extends java.lang.Object
    implements IFileReplicator
    Abstract implementation for file replicators.
    Since:
    6.0.0
    Version:
    $Revision: 13093 $ $Date: 2011-05-28 18:40:18 -0300 (Sat, 28 May 2011) $
    • Constructor Detail

      • AbstractFileReplicator

        public AbstractFileReplicator()
    • Method Detail

      • dispose

        public void dispose()
                     throws FileReplicationException
        Description copied from interface: IFileReplicator
        Allows the replicator to complete pending operation and free any used resources.

        After this method is called, the replicator will not be used anymore, unless it is reinitialized.

        Specified by:
        dispose in interface IFileReplicator
        Throws:
        FileReplicationException - if a problem prevents pending file replications to be done. Even if this exception is thrown, the replicator must free any allocated resource.
      • setWebFileReplication

        public void setWebFileReplication​(WebFileReplication replication)
        Description copied from interface: IFileReplicator
        Provides replication information.
        Specified by:
        setWebFileReplication in interface IFileReplicator
        Parameters:
        replication - the WebFileReplication that contains information about the next replication to be processed.
      • getWebFileReplication

        public WebFileReplication getWebFileReplication()
        Returns the WebFileReplication with the information of the target repository.
        Returns:
        the WebFileReplication with the information of the target repository.
        Since:
        6.0.0