1 23 24 29 30 31 34 35 package com.sun.cli.jmx.support; 36 37 import javax.management.*; 38 import java.io.IOException ; 39 40 41 42 public interface CLISupportMBean 43 { 44 45 51 public ResultsForGetSet [] 52 mbeanGet( String attrs, String [] targets) throws Exception ; 53 54 55 61 public ResultsForGetSet [] 62 mbeanSet( String attrs, String [] targets ) throws Exception ; 63 64 65 75 public InvokeResult [] 76 mbeanInvoke( String operationName, String args, String [] targets ) throws Exception ; 77 78 79 80 86 public ObjectName [] 87 mbeanFind( String [] patterns ) 88 throws Exception ; 89 90 97 public ObjectName [] 98 mbeanFind( String [] patterns, String regexList ) 99 throws Exception ; 100 101 102 107 public InspectResult 108 mbeanInspect( InspectRequest request, ObjectName name ) throws Exception ; 109 110 115 public InspectResult [] 116 mbeanInspect( InspectRequest request, String [] targets ) throws Exception ; 117 118 119 126 public void 127 mbeanCreate( String name, String theClass, String args ) throws Exception ; 128 129 134 public void 135 mbeanUnregister( String name ) throws Exception ; 136 137 140 public int 141 mbeanCount( ) throws Exception ; 142 143 146 public String [] 147 mbeanDomains( ) throws Exception ; 148 149 154 public void 155 mbeanListen( 156 boolean start, 157 String [] targets, 158 NotificationListener listener, 159 NotificationFilter filter, 160 Object handback ) throws Exception ; 161 162 163 170 public ObjectName [] 171 resolveTargets( final String [] targets) throws Exception ; 172 } 173 174 | Popular Tags |