|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.starlink.plastic.ServerSet
Provides the servers (XML-RPC and RMI-LITE) which are required for a functioning hub.
Constructor Summary | |
ServerSet(File configFile)
Constructs a new ServerSet. |
Method Summary | |
void |
finalize()
|
net.ladypleaser.rmilite.Server |
getRmiServer()
Returns a running RMI server associated with this object. |
org.apache.xmlrpc.WebServer |
getXmlRpcServer()
Returns a running XML-RPC server associated with this object. |
URL |
getXmlRpcUrl()
Returns the URL for the XML-RPC server associated with this object. |
void |
stop()
Tidies up when the servers provided by this object are no longer requires. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerSet(File configFile) throws IOException, RemoteException
configFile
is specified
it will be used to record details of the current configuration,
in the standard PLASTIC way (serialised properties).
If it's null, this information will not be recorded.
configFile
- file for storing configuration of the running
PLASTIC hubMethod Detail |
public net.ladypleaser.rmilite.Server getRmiServer()
public org.apache.xmlrpc.WebServer getXmlRpcServer()
public URL getXmlRpcUrl()
public void stop()
public void finalize() throws Throwable
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |