Replaces helma.framework.IReplicatedApp, since replication takes part mostly in
the helma.objectmodel.db package.
This commit is contained in:
parent
be021b25ea
commit
ef18e63042
1 changed files with 21 additions and 0 deletions
21
src/helma/objectmodel/db/IReplicationListener.java
Normal file
21
src/helma/objectmodel/db/IReplicationListener.java
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
// IReplicationListener.java
|
||||||
|
// Copyright (c) Hannes Wallnöfer 2002
|
||||||
|
|
||||||
|
package helma.objectmodel.db;
|
||||||
|
|
||||||
|
import java.rmi.*;
|
||||||
|
import java.util.Vector;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* RMI interface for an application. Currently only execute is used and supported.
|
||||||
|
*/
|
||||||
|
|
||||||
|
public interface IReplicationListener extends Remote {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update HopObjects in this application's cache. This is used to replicate
|
||||||
|
* application caches in a distributed app environment
|
||||||
|
*/
|
||||||
|
public void replicateCache (Vector add, Vector delete) throws RemoteException;
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue