|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjef.disconnection.impl.DefaultFieldDisconnector
public class DefaultFieldDisconnector
Default implementation of the FieldDisconnector
interface.
Constructor Summary | |
---|---|
DefaultFieldDisconnector()
Creates a new instance of DefaultFieldDisconnector |
Method Summary | |
---|---|
void |
extract(FieldInfoStructure fieldInfo,
DisconnectedField disconnectedField,
DeepCopier deepCopier)
This method copies into the disconnectField instance provided as parameter the
fieldInfo object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFieldDisconnector()
Method Detail |
---|
public void extract(FieldInfoStructure fieldInfo, DisconnectedField disconnectedField, DeepCopier deepCopier) throws DisconnectionFailedException
disconnectField
instance provided as parameter the
fieldInfo
object. Actually this is a real copy, that is the source
fieldInfo
gets cloned and all its references to cp_info
s
entries are correctly updated.Dna
to a target
DisconnectField
data structure entails a deep copy of all the referenced
cp_info
s. This is a required step to bring into the target
DisconnectedField
all the other information on which the field definition is
based.DeepCopier
instance.
extract
in interface FieldDisconnector
fieldInfo
- The reference to the field to be copied into the target
disconnectMethod
disconnectField
- The target DisconnectedField
instance in which the disconnected
method will be stored for a subsequent injectiondeepCopier
- The DeepCopier
instance needed to perform the deep copy operation
DisconnectionFailedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |