BEAST
eu.baltrad.beast.pgfwk.BaltradXmlRpcServer Class Reference

The main xml-rpc server that listens to XMLRPC requests and ensures that the correct plugin is called. More...

Public Member Functions

void start () throws IOException
 Starts the XMLRPC server.
 
void shutdown ()
 Terminates the server.
 
ApplicationContext getContext ()
 Returns the context defining this instance.
 

Static Public Member Functions

static BaltradXmlRpcServer createServerFromArguments (String[] args)
 Creates a server instance from a list of arguments.
 
static void main (String[] args) throws Exception
 Main function for starting the server.
 

Protected Member Functions

 BaltradXmlRpcServer (int port, ApplicationContext context, XmlRpcHandlerMapping mapping)
 Default constructor.
 

Detailed Description

The main xml-rpc server that listens to XMLRPC requests and ensures that the correct plugin is called.

Author
Anders Henja

Constructor & Destructor Documentation

◆ BaltradXmlRpcServer()

eu.baltrad.beast.pgfwk.BaltradXmlRpcServer.BaltradXmlRpcServer ( int port,
ApplicationContext context,
XmlRpcHandlerMapping mapping )
inlineprotected

Default constructor.

Member Function Documentation

◆ 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
argsSee description
Returns
a server instance on success
Exceptions
aThrowable

◆ 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
args
Exceptions
Exception

◆ shutdown()

void eu.baltrad.beast.pgfwk.BaltradXmlRpcServer.shutdown ( )
inline

Terminates the server.

◆ 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: