org.vrspace.server.object
Class JXTA
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, Daemon, Owned, java.lang.Runnable
- public class JXTA
- extends OwnedDBObject
- implements java.lang.Runnable, Daemon
JXTA VRObject
Field Summary |
java.lang.String |
installDir
JXTA installation directory |
boolean |
shutdown
should this shutdown when noone sees it? default = false |
NetResource |
url
presentation url |
Fields inherited from class org.vrspace.server.DBObject |
db |
Constructor Summary |
JXTA()
|
Method Summary |
void |
addObserver(java.util.Observer obs)
Add observer. |
void |
deleteObserver(java.util.Observer o)
If shutdown == true and this is last Observer, shutdown this Tomcat |
void |
initialized()
This is called on each Damon after dispatcher is initialized (space loaded & all daemons started) |
void |
run()
|
void |
shutdown()
|
void |
startup()
|
void |
startup(Dispatcher d)
|
Methods inherited from class org.vrspace.server.VRObject |
arrayToString, canRead, canWrite, clone, equals, fieldToText, fromString, fromText, getClassName, getField, getFields, getId, getID, getMemebers, hasField, hasMethod, isNew, newInstance, sendResponse, setField, setField, setField, setFields, setFields, stringToArray, toString, toText, toText, toText |
Methods inherited from class java.util.Observable |
clearChanged, countObservers, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
url
public 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
JXTA
public JXTA()
startup
public void startup(Dispatcher d)
- Specified by:
startup
in interface Daemon
initialized
public void initialized()
- Description copied from interface:
Daemon
- This is called on each Damon after dispatcher is initialized (space loaded & all daemons started)
- Specified by:
initialized
in interface Daemon
startup
public void startup()
addObserver
public void addObserver(java.util.Observer obs)
- Add observer. First Observer starts the server.
run
public void run()
- 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 Daemon