| java.lang.Object org.obe.client.api.WMClientFactory
WMClientFactory | final public class WMClientFactory (Code) | | Factory class to support pluggable client implementations. As standard,
local,
j2ee-local,
rmi and
xml-rpc are supported.
author: Adrian Price |
Field Summary | |
final public static String | J2EE_LOCAL Represents a standard, local J2EE interface. | final public static String | LOCAL Represents a standard, local Java interface. | final public static String | RMI Represents the standard RMI remote protocol. | final public static String | XML_RPC Represents the XML-RPC protocol. |
J2EE_LOCAL | final public static String J2EE_LOCAL(Code) | | Represents a standard, local J2EE interface.
|
LOCAL | final public static String LOCAL(Code) | | Represents a standard, local Java interface.
|
RMI | final public static String RMI(Code) | | Represents the standard RMI remote protocol.
|
XML_RPC | final public static String XML_RPC(Code) | | Represents the XML-RPC protocol. The default implementation uses the
Apache XML-RPC libraries.
|
createClient | public static WMClient createClient() throws WMWorkflowException(Code) | | Creates a client instance using the default protocol. The default
protocol is "local", but can be overridden by setting the configuration
property obe.client.protocol .
A client instance. throws: WMWorkflowException - if an exception occurred when instantiatingthe client. throws: IllegalArgumentException - if the protocol name is invalid. |
registerClientClass | public static void registerClientClass(String protocol, String clientClass)(Code) | | Registers a WMClient implementation for the specified
protocol.
Parameters: protocol - The protocol name. Parameters: clientClass - The fully qualified name of the implementing class,which must implement WMClient and have a public,no-args constructor. |
|
|