|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.webfilereplication.AbstractFileReplicator
public abstract class AbstractFileReplicator
Abstract implementation for file replicators.
Constructor Summary | |
---|---|
AbstractFileReplicator()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface lumis.portal.webfilereplication.IFileReplicator |
---|
delete, write |
Constructor Detail |
---|
public AbstractFileReplicator()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |