Package org.astrogrid.samp.xmlrpc.apache
Class ApacheServerFactory
java.lang.Object
org.astrogrid.samp.xmlrpc.apache.ApacheServerFactory
- All Implemented Interfaces:
SampXmlRpcServerFactory
SampXmlRpcServerFactory implementation which uses Apache classes.
Server construction is lazy and the same server is returned each time.
- Since:
- 22 Aug 2008
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an XML-RPC server implementation.
-
Constructor Details
-
ApacheServerFactory
public ApacheServerFactory()
-
-
Method Details
-
getServer
Description copied from interface:SampXmlRpcServerFactory
Returns an XML-RPC server implementation. Implementations are permitted, but not required, to return the same object from different calls of this method.- Specified by:
getServer
in interfaceSampXmlRpcServerFactory
- Returns:
- new or re-used server
- Throws:
IOException
-