All Packages Class Hierarchy This Package Previous Next Index
Class replica.AccessControlObject
java.lang.Object
|
+----meta.MetaObject
|
+----replica.AccessControlObject
- public class AccessControlObject
- extends MetaObject
The purpose of this class is to bind a Strategy-Object (a subclass of
AccessTransmitStrategy) to a Base-Object.
- Version:
- 1.0
- Author:
- Markus Jäger
- See Also:
- AccessTransmitStrategy
-
AccessControlObject(Object, AccessTransmitStrategy)
- With this constructor a Strategy-Object is bound to a Base-Object.
-
acquireLocalLock(Object, EventDescObjectLock)
- This method is only important if you want to add your own replication strategy.
-
callLocalMethod(Object, EventDescMethodCall)
- This method is only important if you want to add your own replication strategy.
-
eventAcquireObjectLock(Object, EventDescObjectLock)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterBool(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterByte(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterChar(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterDouble(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterFloat(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterInt(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterLong(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterObject(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterShort(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventMethodEnterVoid(Object, EventDescMethodCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventNewObject(Object, EventDescNewObject)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallBool(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallByte(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallChar(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallDouble(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallFloat(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallInt(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallLong(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallObject(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallShort(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventOutCallVoid(Object, EventDescOutCall)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReadFieldBool(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReadFieldByte(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReadFieldChar(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReadFieldDouble(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReadFieldFloat(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReadFieldInt(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReadFieldLong(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReadFieldObject(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReadFieldShort(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventReleaseObjectLock(Object, EventDescObjectLock)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
eventWriteField(Object, EventDescFieldAccess)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object.
-
getObjectID()
- This method is only important if you want to add your own replication strategy.
-
getStrategy()
- This method is only important if you want to add your own replication strategy.
-
localOutCall(Object, EventDescOutCall)
- This method is only important if you want to add your own replication strategy.
-
readLocalField(Object, EventDescFieldAccess)
- This method is only important if you want to add your own replication strategy.
-
releaseLocalLock(Object, EventDescObjectLock)
- This method is only important if you want to add your own replication strategy.
-
writeLocalField(Object, EventDescFieldAccess)
- This method is only important if you want to add your own replication strategy.
AccessControlObject
public AccessControlObject(Object obj,
AccessTransmitStrategy newStrategy)
- With this constructor a Strategy-Object is bound to a Base-Object.
- Parameters:
- obj - The Base-Object
- newStrategy - The Strategy-Object
getObjectID
public RemoteObjectReference getObjectID()
- This method is only important if you want to add your own replication strategy.
It returns the ID of this object.
- Returns:
- ID of this object.
getStrategy
public AccessTransmitStrategy getStrategy()
- This method is only important if you want to add your own replication strategy.
It returns the Strategy-Object of this object.
- Returns:
- ID of this object.
callLocalMethod
public Object callLocalMethod(Object o,
EventDescMethodCall event) throws Throwable
- This method is only important if you want to add your own replication strategy.
It is used to invoke a method of the Base-Object.
- Parameters:
- o - The Base-Object
- event - Description of the call
- Returns:
- Result of the invocation
- Throws: Throwable
- Exception of the invocation
acquireLocalLock
public void acquireLocalLock(Object o,
EventDescObjectLock event)
- This method is only important if you want to add your own replication strategy.
It is used to lock a Base-Object.
- Parameters:
- o - The Base-Object
- event - Description of the lock request.
releaseLocalLock
public void releaseLocalLock(Object o,
EventDescObjectLock event)
- This method is only important if you want to add your own replication strategy.
It is used to unlock a Base-Object.
- Parameters:
- o - The Base-Object
- event - Description of the unlock request.
writeLocalField
public void writeLocalField(Object o,
EventDescFieldAccess event)
- This method is only important if you want to add your own replication strategy.
It is used to write a field of a Base-Object.
- Parameters:
- o - The Base-Object
- event - Description of the field access.
readLocalField
public Object readLocalField(Object o,
EventDescFieldAccess event)
- This method is only important if you want to add your own replication strategy.
It is used to read a field of a Base-Object.
- Parameters:
- o - The Base-Object
- event - Description of the field access.
localOutCall
public Object localOutCall(Object o,
EventDescOutCall event) throws Throwable
- This method is only important if you want to add your own replication strategy.
It is used to invoke a method of a different Base-Object.
- Parameters:
- o - The Base-Object
- event - Description of the call
- Returns:
- Result of the invocation
- Throws: Throwable
- Exception of the invocation
eventMethodEnterVoid
public void eventMethodEnterVoid(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterVoid in class MetaObject
eventMethodEnterObject
public Object eventMethodEnterObject(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterObject in class MetaObject
eventMethodEnterByte
public byte eventMethodEnterByte(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterByte in class MetaObject
eventMethodEnterChar
public char eventMethodEnterChar(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterChar in class MetaObject
eventMethodEnterDouble
public double eventMethodEnterDouble(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterDouble in class MetaObject
eventMethodEnterFloat
public float eventMethodEnterFloat(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterFloat in class MetaObject
eventMethodEnterInt
public int eventMethodEnterInt(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterInt in class MetaObject
eventMethodEnterLong
public long eventMethodEnterLong(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterLong in class MetaObject
eventMethodEnterShort
public short eventMethodEnterShort(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterShort in class MetaObject
eventMethodEnterBool
public boolean eventMethodEnterBool(Object o,
EventDescMethodCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventMethodEnterBool in class MetaObject
eventAcquireObjectLock
public void eventAcquireObjectLock(Object o,
EventDescObjectLock event)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Overrides:
- eventAcquireObjectLock in class MetaObject
eventReleaseObjectLock
public void eventReleaseObjectLock(Object o,
EventDescObjectLock event)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Overrides:
- eventReleaseObjectLock in class MetaObject
eventWriteField
public void eventWriteField(Object o,
EventDescFieldAccess event)
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Overrides:
- eventWriteField in class MetaObject
eventReadFieldObject
public Object eventReadFieldObject(Object o,
EventDescFieldAccess event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventReadFieldObject in class MetaObject
eventReadFieldByte
public byte eventReadFieldByte(Object o,
EventDescFieldAccess event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventReadFieldByte in class MetaObject
eventReadFieldChar
public char eventReadFieldChar(Object o,
EventDescFieldAccess event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventReadFieldChar in class MetaObject
eventReadFieldDouble
public double eventReadFieldDouble(Object o,
EventDescFieldAccess event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventReadFieldDouble in class MetaObject
eventReadFieldFloat
public float eventReadFieldFloat(Object o,
EventDescFieldAccess event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventReadFieldFloat in class MetaObject
eventReadFieldInt
public int eventReadFieldInt(Object o,
EventDescFieldAccess event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventReadFieldInt in class MetaObject
eventReadFieldLong
public long eventReadFieldLong(Object o,
EventDescFieldAccess event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventReadFieldLong in class MetaObject
eventReadFieldShort
public short eventReadFieldShort(Object o,
EventDescFieldAccess event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventReadFieldShort in class MetaObject
eventReadFieldBool
public boolean eventReadFieldBool(Object o,
EventDescFieldAccess event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventReadFieldBool in class MetaObject
eventOutCallVoid
public void eventOutCallVoid(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallVoid in class MetaObject
eventOutCallObject
public Object eventOutCallObject(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallObject in class MetaObject
eventOutCallByte
public byte eventOutCallByte(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallByte in class MetaObject
eventOutCallChar
public char eventOutCallChar(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallChar in class MetaObject
eventOutCallDouble
public double eventOutCallDouble(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallDouble in class MetaObject
eventOutCallFloat
public float eventOutCallFloat(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallFloat in class MetaObject
eventOutCallInt
public int eventOutCallInt(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallInt in class MetaObject
eventOutCallLong
public long eventOutCallLong(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallLong in class MetaObject
eventOutCallShort
public short eventOutCallShort(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallShort in class MetaObject
eventOutCallBool
public boolean eventOutCallBool(Object o,
EventDescOutCall event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventOutCallBool in class MetaObject
eventNewObject
public Object eventNewObject(Object o,
EventDescNewObject event) throws Throwable
- This method is only used to forward an event from the Runtime-System to the
Strategy-Object. You do not need it.
- Throws: Throwable
- The thrown exception
- Overrides:
- eventNewObject in class MetaObject
All Packages Class Hierarchy This Package Previous Next Index