Modifier and Type | Field and Description |
---|---|
private SampXmlRpcClientFactory |
clientFactory_ |
private java.lang.String |
name_ |
private SampXmlRpcServerFactory |
serverFactory_ |
APACHE, IMPL_PROP, INTERNAL, KNOWN_IMPLS, RPC_LOGGING, XML_LOGGING
Constructor and Description |
---|
AvailableKit(java.lang.String name,
SampXmlRpcClientFactory clientFactory,
SampXmlRpcServerFactory serverFactory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SampXmlRpcClientFactory |
getClientFactory()
Returns an XML-RPC client factory.
|
java.lang.String |
getName()
Returns the name of this kit.
|
SampXmlRpcServerFactory |
getServerFactory()
Returns an XML-RPC server factory.
|
boolean |
isAvailable()
Indicates whether this object is ready for use.
|
java.lang.String |
toString() |
createReflectionKit, getInstance, getInstanceByName
private final java.lang.String name_
private final SampXmlRpcClientFactory clientFactory_
private final SampXmlRpcServerFactory serverFactory_
AvailableKit(java.lang.String name, SampXmlRpcClientFactory clientFactory, SampXmlRpcServerFactory serverFactory)
name
- implementation nameclientFactory
- SampXmlRpcClientFactory instanceserverFactory
- SampXmlRpcServerFactory instancepublic SampXmlRpcClientFactory getClientFactory()
XmlRpcKit
getClientFactory
in class XmlRpcKit
public SampXmlRpcServerFactory getServerFactory()
XmlRpcKit
getServerFactory
in class XmlRpcKit
public java.lang.String getName()
XmlRpcKit
public boolean isAvailable()
XmlRpcKit
XmlRpcKit.getClientFactory()
and XmlRpcKit.getServerFactory()
may throw exceptions rather than behaving as documented.isAvailable
in class XmlRpcKit
public java.lang.String toString()
toString
in class java.lang.Object