|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IReplicable
Interface of objects that may be replicated. This is similar to Java cloning.
Cloneable
Method Summary | |
---|---|
Object |
replicate()
Returns a replicated instance of this instance. |
Object |
replicateTo(Object replica)
Replicates this instance state to given replica object. |
Method Detail |
---|
Object replicate() throws ReplicationException
ReplicationException
- if replication failsObject replicateTo(Object replica) throws IllegalArgumentException, ReplicationException
replica
- the object to replicate to
IllegalArgumentException
- if given object is null or of invalid type
ReplicationException
- if replication fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |