org.apache.continuum.distributed.commons.utils
Class ContinuumXmlRpcBinder
java.lang.Object
org.apache.continuum.distributed.commons.utils.ContinuumXmlRpcBinder
- All Implemented Interfaces:
- com.atlassian.xmlrpc.Binder
public class ContinuumXmlRpcBinder
- extends Object
- implements com.atlassian.xmlrpc.Binder
Used to bind the given XML-RPC service to an instance of
the given interface type.
This implementation uses the Apache XML-RPC client.
This is derived from ApacheBinder from the atlassian-xmlrpc-binder project. In this version, we customise the
transport used for better connection management. It is thread-safe and should be reused.
- Author:
- James William Dumay
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bind
public <T> T bind(Class<T> bindClass,
URL url)
throws com.atlassian.xmlrpc.BindingException
- Specified by:
bind
in interface com.atlassian.xmlrpc.Binder
- Throws:
com.atlassian.xmlrpc.BindingException
bind
public <T> T bind(Class<T> bindClass,
URL url,
com.atlassian.xmlrpc.ConnectionInfo connectionInfo)
throws com.atlassian.xmlrpc.BindingException
- Specified by:
bind
in interface com.atlassian.xmlrpc.Binder
- Throws:
com.atlassian.xmlrpc.BindingException
getInstance
public static ContinuumXmlRpcBinder getInstance()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.