org.astrogrid.samp.xmlrpc.internal
Class InternalServerFactory

java.lang.Object
  extended byorg.astrogrid.samp.xmlrpc.internal.InternalServerFactory
All Implemented Interfaces:
SampXmlRpcServerFactory

public class InternalServerFactory
extends Object
implements SampXmlRpcServerFactory

Freestanding SampXmlRpcServerFactory implementation. Server construction is lazy and the same server is returned each time.

Since:
26 Aug 2008
Author:
Mark Taylor

Constructor Summary
InternalServerFactory()
           
 
Method Summary
 SampXmlRpcServer getServer()
          Returns an XML-RPC server implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalServerFactory

public InternalServerFactory()
Method Detail

getServer

public SampXmlRpcServer getServer()
                           throws IOException
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 interface SampXmlRpcServerFactory
Returns:
new or re-used server
Throws:
IOException


Copyright © 2008 AstroGrid. All Rights Reserved.