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

public class BR.unicamp.Guarana.InstanceReconfigure

(source file: /home/lsd/oliva/src/java/guarana/kaffe/libraries/extensions/guarana/javalib/BR/unicamp/Guarana/InstanceReconfigure.java)
java.lang.Object
   |
   +----BR.unicamp.Guarana.InstanceReconfigure

The pure class interface.
public class InstanceReconfigure
  implements Message
This Message is used to control the reconfiguration of Objects whose meta-configuration is empty. Whenever the Guarana kernel is asked to reconfigure an Object whose meta-configuration is empty, it creates an InstanceReconfigure Message and broadcasts it to all the classes the Object is an instance of, most derived first, java.lang.Object last. Interfaces are excluded from this process.


Constuctor Index

O InstanceReconfigure(Object, MetaObject)
Create an InstanceReconfigure Message, whose ultimate metaObject will be associated with the

Variables Index

O object
The object whose meta-configuration is to be established.

Methods

O getMetaObject()
Obtains the MetaObject that will become the primary MetaObject of the Object, unless it is
O getObject()
Obtains the Object whose meta-configuration is to be established.
O setMetaObject(MetaObject)
Changes the MetaObject that will become the Object's primary MetaObject.

Constructors

O InstanceReconfigure
public InstanceReconfigure(Object object,
                           MetaObject metaObject);
Create an InstanceReconfigure Message, whose ultimate metaObject will be associated with the given Object.

Parameters:
object - the Object whose meta-configuration is to be established.
metaObject - the initially proposed primary MetaObject.

Variables

O object
public final Object object;
The object whose meta-configuration is to be established.

Methods

O getObject
public Object getObject();
Obtains the Object whose meta-configuration is to be established.

Returns:
the base-level Object that is being reconfigured.

O getMetaObject

public MetaObject getMetaObject();
Obtains the MetaObject that will become the primary MetaObject of the Object, unless it is changed.

Returns:
the currently selected MetaObject.

O setMetaObject

public synchronized void setMetaObject(MetaObject metaObject);
Changes the MetaObject that will become the Object's primary MetaObject.

Parameters:
metaObject - the new MetaObject.


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