org.rhq.enterprise.server.remote
Class RemoteWsInvocationHandler
java.lang.Object
org.rhq.enterprise.server.remote.RemoteWsInvocationHandler
- All Implemented Interfaces:
- org.jboss.remoting.ServerInvocationHandler
public class RemoteWsInvocationHandler
- extends Object
- implements org.jboss.remoting.ServerInvocationHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.remoting.ServerInvocationHandler |
toString |
RemoteWsInvocationHandler
public RemoteWsInvocationHandler()
addListener
public void addListener(org.jboss.remoting.callback.InvokerCallbackHandler arg0)
- Specified by:
addListener in interface org.jboss.remoting.ServerInvocationHandler
invoke
public Object invoke(org.jboss.remoting.InvocationRequest invocationRequest)
throws Throwable
- Specified by:
invoke in interface org.jboss.remoting.ServerInvocationHandler
- Throws:
Throwable
generateRemoteWebserviceURL
public static URL generateRemoteWebserviceURL(Class remote,
String host,
int port,
boolean useHttps)
throws MalformedURLException
- Dynamically builds the WSDL URL to connect to a remote server.
- Parameters:
remote - class correctly annotated with Webservice reference.
- Returns:
- valid URL
- Throws:
MalformedURLException
generateRemoteWebserviceQName
public static QName generateRemoteWebserviceQName(Class remote)
removeListener
public void removeListener(org.jboss.remoting.callback.InvokerCallbackHandler arg0)
- Specified by:
removeListener in interface org.jboss.remoting.ServerInvocationHandler
setInvoker
public void setInvoker(org.jboss.remoting.ServerInvoker arg0)
- Specified by:
setInvoker in interface org.jboss.remoting.ServerInvocationHandler
setMBeanServer
public void setMBeanServer(MBeanServer arg0)
- Specified by:
setMBeanServer in interface org.jboss.remoting.ServerInvocationHandler
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.