public abstract class XmlRpcKit extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static XmlRpcKit | APACHEImplementation based on Apache XML-RPC. | 
| static String | IMPL_PROPProperty which is examined to determine which implementation to use
 by default. | 
| static XmlRpcKit | INTERNALImplementation which requires no external libraries. | 
| static XmlRpcKit[] | KNOWN_IMPLSArray of available known implementations of this class. | 
| static XmlRpcKit | RPC_LOGGINGInternal implementation variant with verbose logging of RPC calls. | 
| static XmlRpcKit | XML_LOGGINGInternal implementation variant with verbose logging of XML I/O. | 
| Constructor and Description | 
|---|
| XmlRpcKit() | 
| Modifier and Type | Method and Description | 
|---|---|
| static XmlRpcKit | createReflectionKit(String name,
                   String clientFactoryClassName,
                   String serverFactoryClassName)Returns a new XmlRpcKit given classnames for the client and server
 factory classes. | 
| abstract SampXmlRpcClientFactory | getClientFactory()Returns an XML-RPC client factory. | 
| static XmlRpcKit | getInstance()Returns the default instance of this class. | 
| static XmlRpcKit | getInstanceByName(String name)Returns an XmlRpcKit instance given its name. | 
| abstract String | getName()Returns the name of this kit. | 
| abstract SampXmlRpcServerFactory | getServerFactory()Returns an XML-RPC server factory. | 
| abstract boolean | isAvailable()Indicates whether this object is ready for use. | 
public static final XmlRpcKit APACHE
public static final XmlRpcKit INTERNAL
public static final XmlRpcKit XML_LOGGING
public static final XmlRpcKit RPC_LOGGING
public static XmlRpcKit[] KNOWN_IMPLS
public static final String IMPL_PROP
KNOWN_IMPLS, currently:
 XmlRpcKit 
 and has a no-arg constructor.
 The property name is "jsamp.xmlrpc.impl".public abstract SampXmlRpcClientFactory getClientFactory()
public abstract SampXmlRpcServerFactory getServerFactory()
public abstract boolean isAvailable()
getClientFactory() and getServerFactory()
 may throw exceptions rather than behaving as documented.public abstract String getName()
public static XmlRpcKit getInstance()
IMPL_PROP is set this
 will determine the implementation used.  It may be one of:
 apache: implementation based on the 
     Apache XML-RPC libraryinternal: implementation which requires no libraries
     beyond JSAMP itselfpublic static XmlRpcKit getInstanceByName(String name)
name - name of one of the known implementations, or classname
          of an XmlRpcKit implementatation with a no-arg
          constructorIllegalArgumentException - if none by that name can be foundpublic static XmlRpcKit createReflectionKit(String name, String clientFactoryClassName, String serverFactoryClassName)
isAvailable()()=false will be returned.name - kit nameclientFactoryClassName - name of class implementing
            SampXmlRpcClientFactory which has a no-arg constructorserverFactoryClassName - name of class implementing
            SampXmlRpcServerFactory which has a no-arg constructorCopyright © 2008–2024. All rights reserved.