org.jboss.console.remote
Class Util

java.lang.Object
  extended byorg.jboss.console.remote.Util

public class Util
extends java.lang.Object

Common client utility methods


Constructor Summary
Util()
           
 
Method Summary
static java.lang.Object getAttribute(java.net.URL externalURL, RemoteMBeanAttributeInvocation (src)  mi)
           
static java.lang.Object invoke(java.net.URL externalURL, RemoteMBeanInvocation (src)  mi)
          Post the Invocation as a serialized MarshalledInvocation object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

invoke

public static java.lang.Object invoke(java.net.URL externalURL,
                                      RemoteMBeanInvocation (src)  mi)
                               throws java.lang.Exception
Post the Invocation as a serialized MarshalledInvocation object. This is using the URL class for now but this should be improved to a cluster aware layer with full usage of HTTP 1.1 features, pooling, etc.

Throws:
java.lang.Exception

getAttribute

public static java.lang.Object getAttribute(java.net.URL externalURL,
                                            RemoteMBeanAttributeInvocation (src)  mi)
                                     throws java.lang.Exception
Throws:
java.lang.Exception