The main xml-rpc server that listens to XMLRPC requests and ensures that the correct plugin is called.
More...
|
void | start () throws IOException |
| Starts the XMLRPC server.
|
|
void | shutdown () |
| Terminates the server.
|
|
ApplicationContext | getContext () |
| Returns the context defining this instance.
|
|
|
| BaltradXmlRpcServer (int port, ApplicationContext context, XmlRpcHandlerMapping mapping) |
| Default constructor.
|
|
The main xml-rpc server that listens to XMLRPC requests and ensures that the correct plugin is called.
- Author
- Anders Henja
◆ BaltradXmlRpcServer()
eu.baltrad.beast.pgfwk.BaltradXmlRpcServer.BaltradXmlRpcServer |
( |
int | port, |
|
|
ApplicationContext | context, |
|
|
XmlRpcHandlerMapping | mapping ) |
|
inlineprotected |
◆ createServerFromArguments()
static BaltradXmlRpcServer eu.baltrad.beast.pgfwk.BaltradXmlRpcServer.createServerFromArguments |
( |
String[] | args | ) |
|
|
inlinestatic |
Creates a server instance from a list of arguments.
–port=<port> The port to use, must be > 1024 (mandatory) –context=<contexturi> The context uri to use, default "classpath:*xmlrpcserver-context.xml"
- Parameters
-
- Returns
- a server instance on success
- Exceptions
-
◆ getContext()
ApplicationContext eu.baltrad.beast.pgfwk.BaltradXmlRpcServer.getContext |
( |
| ) |
|
|
inline |
Returns the context defining this instance.
- Returns
- the context
◆ main()
static void eu.baltrad.beast.pgfwk.BaltradXmlRpcServer.main |
( |
String[] | args | ) |
throws Exception |
|
inlinestatic |
Main function for starting the server.
- Parameters
-
- Exceptions
-
◆ shutdown()
void eu.baltrad.beast.pgfwk.BaltradXmlRpcServer.shutdown |
( |
| ) |
|
|
inline |
◆ start()
void eu.baltrad.beast.pgfwk.BaltradXmlRpcServer.start |
( |
| ) |
throws IOException |
|
inline |
Starts the XMLRPC server.
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/pgfwk/BaltradXmlRpcServer.java