All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.Sharable
java.lang.Object
|
+----ncsa.habanero.ModelObject
|
+----ncsa.habanero.Targetable
|
+----ncsa.habanero.Sharable
- public abstract class Sharable
- extends Targetable
Basically, the Sharable object represents things that
Habanero can share among paricipants. At the moment,
that is Collobjects and Sessions. Sharables are ModelObjects,
so every one knows its parent and its children.
Each Sharable also has an arbitrator.
-
arbi
-
-
Sharable(ModelObject)
-
Construct a Sharable with no Arbitrator.
-
Sharable(ModelObject, Arbitrator, Object)
-
Construct a Sharable with an Arbitrator.
-
add_child(Sharable)
- Add a child Sharable.
-
arbitrator()
- Return the arbitrator for this object
-
dumpSelf(MarshallOutput, String)
-
-
getSharable()
- Returns the first ancestor object which is a Sharable.
-
instantiate(String, Arbitrator, String, String, Properties)
- Make a new child of the type represented
by the String argument
-
isStopped()
-
-
remove_child(Sharable)
- Remove a child Sharable.
-
shutDown()
-
arbi
protected Arbitrator arbi
Sharable
protected Sharable(ModelObject parent)
- Construct a Sharable with no Arbitrator. Presumably it
will be set by a subclass.
Sharable
public Sharable(ModelObject parent,
Arbitrator arb,
Object key)
- Construct a Sharable with an Arbitrator. Set the Arbitrator's
oowner to be me.
add_child
protected void add_child(Sharable collaborator)
- Add a child Sharable.
remove_child
protected void remove_child(Sharable collaborator)
- Remove a child Sharable.
instantiate
protected synchronized Collobject instantiate(String className,
Arbitrator arb,
String originator,
String uniqueName,
Properties props)
- Make a new child of the type represented
by the String argument
- Parameters:
- aClass - string object representing the type of the new child
arbitrator
public Arbitrator arbitrator()
- Return the arbitrator for this object
shutDown
public void shutDown()
- Overrides:
- shutDown in class Targetable
isStopped
public boolean isStopped()
getSharable
public Sharable getSharable()
- Returns the first ancestor object which is a Sharable.
- Overrides:
- getSharable in class ModelObject
dumpSelf
public synchronized void dumpSelf(MarshallOutput out,
String toWho) throws IOException
All Packages Class Hierarchy This Package Previous Next Index