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

Constructor Index

 o AccessControlObject(Object, AccessTransmitStrategy)
With this constructor a Strategy-Object is bound to a Base-Object.

Method Index

 o acquireLocalLock(Object, EventDescObjectLock)
This method is only important if you want to add your own replication strategy.
 o callLocalMethod(Object, EventDescMethodCall)
This method is only important if you want to add your own replication strategy.
 o eventAcquireObjectLock(Object, EventDescObjectLock)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterBool(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterByte(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterChar(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterDouble(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterFloat(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterInt(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterLong(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterObject(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterShort(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventMethodEnterVoid(Object, EventDescMethodCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventNewObject(Object, EventDescNewObject)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallBool(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallByte(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallChar(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallDouble(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallFloat(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallInt(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallLong(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallObject(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallShort(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventOutCallVoid(Object, EventDescOutCall)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReadFieldBool(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReadFieldByte(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReadFieldChar(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReadFieldDouble(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReadFieldFloat(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReadFieldInt(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReadFieldLong(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReadFieldObject(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReadFieldShort(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventReleaseObjectLock(Object, EventDescObjectLock)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o eventWriteField(Object, EventDescFieldAccess)
This method is only used to forward an event from the Runtime-System to the Strategy-Object.
 o getObjectID()
This method is only important if you want to add your own replication strategy.
 o getStrategy()
This method is only important if you want to add your own replication strategy.
 o localOutCall(Object, EventDescOutCall)
This method is only important if you want to add your own replication strategy.
 o readLocalField(Object, EventDescFieldAccess)
This method is only important if you want to add your own replication strategy.
 o releaseLocalLock(Object, EventDescObjectLock)
This method is only important if you want to add your own replication strategy.
 o writeLocalField(Object, EventDescFieldAccess)
This method is only important if you want to add your own replication strategy.

Constructors

 o 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

Methods

 o 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.
 o 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.
 o 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
 o 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.
 o 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.
 o 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.
 o 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.
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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