org.jboss.console.remote
Class Util

java.lang.Object
  extended by org.jboss.console.remote.Util

public class Util
extends Object

Common client utility methods

Version:
$Revision: 1.4.6.1 $
Author:
Scott.Stark@jboss.org

Constructor Summary
Util()
           
 
Method Summary
static Object getAttribute(URL externalURL, RemoteMBeanAttributeInvocation mi)
           
static Object invoke(URL externalURL, RemoteMBeanInvocation 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 Object invoke(URL externalURL,
                            RemoteMBeanInvocation mi)
                     throws 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:
Exception

getAttribute

public static Object getAttribute(URL externalURL,
                                  RemoteMBeanAttributeInvocation mi)
                           throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.