1 22 package org.jboss.console.remote; 23 38 39 public class AppletRemoteMBeanInvoker 40 implements SimpleRemoteMBeanInvoker 41 { 42 43 45 47 java.net.URL baseUrl = null; 48 49 51 53 public AppletRemoteMBeanInvoker (String baseUrl) throws java.net.MalformedURLException 54 { 55 this.baseUrl = new java.net.URL (baseUrl); 56 } 57 58 60 62 public Object invoke (javax.management.ObjectName name, String operationName, Object [] params, String [] signature) throws Exception 63 { 64 return Util.invoke (this.baseUrl, new RemoteMBeanInvocation (name, operationName, params, signature)); 65 } 66 67 public Object getAttribute (javax.management.ObjectName name, String attrName) throws Exception 68 { 69 return Util.getAttribute(this.baseUrl, new RemoteMBeanAttributeInvocation(name, attrName)); 70 } 71 72 74 76 78 80 82 } 83 | Popular Tags |