[all packages]
[package BR.unicamp.Guarana]
[class hierarchy]
[index]
public class BR.unicamp.Guarana.MetaBlocker
(source file: /home/lsd/oliva/src/java/guarana/kaffe/libraries/extensions/guarana/javalib/BR/unicamp/Guarana/MetaBlocker.java)
java.lang.Object
|
+----BR.unicamp.Guarana.MetaObject
|
+----BR.unicamp.Guarana.MetaBlocker
The pure class interface.
public class MetaBlocker
extends MetaObject
-
A MetaBlocker is installed as the primary MetaObject of an Object
from the moment in which it is created with `new' up to the moment
in which the MetaObject of its creator returns from the invocation
of the method configure. It rejects all Operations, throwing
Blocked (an inner class) exceptions. If such a MetaObject is
installed on an Object in any other case, the Object becomes
totally unusable.
- See also:
- configure
- MetaBlocker()
- Creates a MetaBlocker.
- configure(Object, Object)
-
- handle(Message, Object)
-
- handle(Result, Object)
-
- handle(Operation, Object)
-
- initialize(OperationFactory, Object)
-
- reconfigure(Object, MetaObject, MetaObject)
-
- release(Object)
-
- Blocked
-
MetaBlocker
public MetaBlocker();
- Creates a MetaBlocker.
handle
public Result handle(Operation operation,
Object object);
handle
public Result handle(Result result,
Object object);
handle
public void handle(Message message,
Object object);
configure
public MetaObject configure(Object newObject,
Object object);
reconfigure
public MetaObject reconfigure(Object object,
MetaObject oldMetaObject,
MetaObject newMetaObject);
initialize
public void initialize(OperationFactory factory,
Object object);
release
public void release(Object object);
public static class Blocked
public static class Blocked
extends RuntimeException
[all packages]
[package BR.unicamp.Guarana]
[class hierarchy]
[index]
BR.unicamp.Guarana.MetaBlocker.html