Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
error_ |
private java.lang.String |
name_ |
APACHE, IMPL_PROP, INTERNAL, KNOWN_IMPLS, RPC_LOGGING, XML_LOGGING
Constructor and Description |
---|
UnavailableKit(java.lang.String name,
java.lang.Throwable error)
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 java.lang.Throwable error_
UnavailableKit(java.lang.String name, java.lang.Throwable error)
kit
- nameerror
- the reason the kit is unavailablepublic 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