[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

Constuctor Index

O MetaBlocker()
Creates a MetaBlocker.

Methods

O configure(Object, Object)
O handle(Message, Object)
O handle(Result, Object)
O handle(Operation, Object)
O initialize(OperationFactory, Object)
O reconfigure(Object, MetaObject, MetaObject)
O release(Object)

Inner Class Index

Blocked

Constructors

O MetaBlocker
public MetaBlocker();
Creates a MetaBlocker.

Methods

O handle
public Result handle(Operation operation,
                     Object object);

O handle

public Result handle(Result result,
                     Object object);

O handle

public void handle(Message message,
                   Object object);

O configure

public MetaObject configure(Object newObject,
                            Object object);

O reconfigure

public MetaObject reconfigure(Object object,
                              MetaObject oldMetaObject,
                              MetaObject newMetaObject);

O initialize

public void initialize(OperationFactory factory,
                       Object object);

O release

public void release(Object object);

Inner Classes

public static class Blocked
public static class Blocked
  extends RuntimeException


[all packages] [package BR.unicamp.Guarana] [class hierarchy] [index]
BR.unicamp.Guarana.MetaBlocker.html