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 java.lang.Object
- implements org.jboss.remoting.ServerInvocationHandler
|
Method Summary |
void |
addListener(org.jboss.remoting.callback.InvokerCallbackHandler arg0)
|
static javax.xml.namespace.QName |
generateRemoteWebserviceQName(java.lang.Class remote)
|
static java.net.URL |
generateRemoteWebserviceURL(java.lang.Class remote,
java.lang.String host,
int port,
boolean useHttps)
Dynamically builds the WSDL URL to connect to a remote server. |
java.lang.Object |
invoke(org.jboss.remoting.InvocationRequest invocationRequest)
|
void |
removeListener(org.jboss.remoting.callback.InvokerCallbackHandler arg0)
|
void |
setInvoker(org.jboss.remoting.ServerInvoker arg0)
|
void |
setMBeanServer(javax.management.MBeanServer arg0)
|
| 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 java.lang.Object invoke(org.jboss.remoting.InvocationRequest invocationRequest)
throws java.lang.Throwable
- Specified by:
invoke in interface org.jboss.remoting.ServerInvocationHandler
- Throws:
java.lang.Throwable
generateRemoteWebserviceURL
public static java.net.URL generateRemoteWebserviceURL(java.lang.Class remote,
java.lang.String host,
int port,
boolean useHttps)
throws java.net.MalformedURLException
- Dynamically builds the WSDL URL to connect to a remote server.
- Parameters:
remote - class correctly annotated with Webservice reference.
- Returns:
- valid URL
- Throws:
java.net.MalformedURLException
generateRemoteWebserviceQName
public static javax.xml.namespace.QName generateRemoteWebserviceQName(java.lang.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(javax.management.MBeanServer arg0)
- Specified by:
setMBeanServer in interface org.jboss.remoting.ServerInvocationHandler
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.