com.oreilly.xml
Class LightweightXmlRpcServer
java.lang.Object
|
+--com.oreilly.xml.LightweightXmlRpcServer
- public class LightweightXmlRpcServer
- extends java.lang.Object
LightweightXmlRpcServer
is a utility class
that will start an XML-RPC server listening for HTTP requests
and register a set of handlers, defined in a configuration file.
- Version:
- 1.0
- Author:
- Brett McLaughlin
Constructor Summary |
LightweightXmlRpcServer(java.lang.String configFile)
This will store the configuration file for the server to use. |
Method Summary |
static void |
main(java.lang.String[] args)
Provide a static entry point. |
void |
start()
This will start up the server. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LightweightXmlRpcServer
public LightweightXmlRpcServer(java.lang.String configFile)
throws java.io.IOException
This will store the configuration file for the server to use.
- Parameters:
configFile
- String
filename to read for
configuration information.- Throws:
IOException
- when the server cannot read
it's configuration information.
start
public void start()
throws java.io.IOException
This will start up the server.
- Throws:
IOException
- when problems occur.
main
public static void main(java.lang.String[] args)
Provide a static entry point.
Copyright © 2000 Brett McLaughlin. All Rights Reserved.