org.sourceforge.jemm.lifecycle
Interface ShadowUserObject

All Superinterfaces:
ShadowObject
All Known Implementing Classes:
ShadowUserObjectImpl

public interface ShadowUserObject
extends ShadowObject

This is the internal interface used by JEMMObjects to handle their interaction with the underlying store.

Author:
Rory Graves, Paul Keeble

Method Summary
 void beginLock()
          Acquire the synchronisation lock the object is up to date with the current store version.
 void beginLock(java.lang.Object obj)
          Acquire the synchronisation lock on the given object.
 void endLock()
          Release the held read or write lock.
 void endLock(java.lang.Object obj)
          Release the held read or write lock on the given object.
 void entityEntered(java.lang.String methodSignature)
          Signifies the beginning of a method execution
 void entityExited(java.lang.String methodSignature)
          Signifies the end of a method execution
 ShadowData getData()
          Returns the ShadowData structure associated with this ShadowObject and the enhanced class which contains all the Object data.
 
Methods inherited from interface org.sourceforge.jemm.lifecycle.ShadowObject
getID, getUserObject
 

Method Detail

beginLock

void beginLock()
Acquire the synchronisation lock the object is up to date with the current store version.


beginLock

void beginLock(java.lang.Object obj)
Acquire the synchronisation lock on the given object.

Parameters:
obj - The target object to synchronise on.

endLock

void endLock()
Release the held read or write lock.


endLock

void endLock(java.lang.Object obj)
Release the held read or write lock on the given object.

Parameters:
obj - The target object to synchronise on.

entityEntered

void entityEntered(java.lang.String methodSignature)
Signifies the beginning of a method execution


entityExited

void entityExited(java.lang.String methodSignature)
Signifies the end of a method execution


getData

ShadowData getData()
Returns the ShadowData structure associated with this ShadowObject and the enhanced class which contains all the Object data.

Returns:
The data object instance.


Copyright © 2009. All Rights Reserved.