org.rhq.enterprise.client.utility
Class Utility

java.lang.Object
  extended by org.rhq.enterprise.client.utility.Utility

public class Utility
extends Object


Constructor Summary
Utility()
           
 
Method Summary
static QName generateRhqRemoteWebserviceQName(Class remote)
           
static URL generateRhqRemoteWebserviceURL(Class remote, String host, int port, boolean useHttps)
          Dynamically builds the WSDL URL to connect to a remote server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utility

public Utility()
Method Detail

generateRhqRemoteWebserviceURL

public static URL generateRhqRemoteWebserviceURL(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

generateRhqRemoteWebserviceQName

public static QName generateRhqRemoteWebserviceQName(Class remote)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.