java.lang.Object
java.util.Observable
org.vrspace.server.VRObject
org.vrspace.server.DBObject
org.vrspace.server.PublicDBObject
org.vrspace.server.OwnedDBObject
org.vrspace.server.object.JXTA
- All Implemented Interfaces:
- java.lang.Cloneable, org.vrspace.attributes.Daemon, org.vrspace.attributes.Owned, java.lang.Runnable
- public class JXTA
- extends org.vrspace.server.OwnedDBObject
- implements java.lang.Runnable, org.vrspace.attributes.Daemon
Tomcat 4.x VRObject
| Fields inherited from class org.vrspace.server.DBObject |
db |
|
Constructor Summary |
JXTA()
|
| Methods inherited from class org.vrspace.server.VRObject |
arrayToString, canRead, canWrite, clone, equals, fromString, fromText, getClassName, getField, getFields, getId, getID, getMemebers, hasField, hasMethod, isNew, newInstance, sendResponse, setField, setField, setField, setFields, setFields, stringToArray, toString, toText, toText, toText |
url
public org.vrspace.util.NetResource url
- presentation url
installDir
public java.lang.String installDir
- JXTA installation directory
shutdown
public boolean shutdown
- should this shutdown when noone sees it? default = false
active
private boolean active
loader
private org.vrspace.server.VRSpaceLoader loader
thread
private java.lang.Thread thread
JXTA
public JXTA()
startup
public void startup(org.vrspace.server.Dispatcher d)
- Specified by:
startup in interface org.vrspace.attributes.Daemon
initialized
public void initialized()
- Description copied from interface:
org.vrspace.attributes.Daemon
- This is called on each Damon after dispatcher is initialized (space loaded & all daemons started)
- Specified by:
initialized in interface org.vrspace.attributes.Daemon
startup
public void startup()
addObserver
public void addObserver(java.util.Observer obs)
- Add observer. First Observer starts the server.
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable
deleteObserver
public void deleteObserver(java.util.Observer o)
- If shutdown == true and this is last Observer, shutdown this Tomcat
shutdown
public void shutdown()
- Specified by:
shutdown in interface org.vrspace.attributes.Daemon