[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.
- InstanceReconfigure(Object, MetaObject)
- Create an InstanceReconfigure Message, whose ultimate
metaObject will be associated with the
- object
- The object whose meta-configuration is to be established.
- getMetaObject()
- Obtains the MetaObject that will become the primary MetaObject
of the Object, unless it is
- getObject()
- Obtains the Object whose meta-configuration is to be
established.
- setMetaObject(MetaObject)
- Changes the MetaObject that will become the Object's primary
MetaObject.
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.
object
public final Object object;
- The object whose meta-configuration is to be established.
getObject
public Object getObject();
- Obtains the Object whose meta-configuration is to be
established.
- Returns:
- the base-level Object that is being reconfigured.
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.
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