1 24 25 package org.objectweb.cjdbc.common.jmx.mbeans; 26 27 import java.io.IOException ; 28 import java.rmi.RemoteException ; 29 import java.util.ArrayList ; 30 31 import org.objectweb.cjdbc.common.exceptions.ControllerException; 32 33 40 public interface ControllerMBean 41 { 42 43 47 58 void addVirtualDatabases(String xml) throws ControllerException; 59 60 65 ArrayList getVirtualDatabaseNames(); 66 67 74 boolean hasVirtualDatabase(String name); 75 76 83 String removeVirtualDatabase(String virtualname) throws Exception ; 84 85 89 96 void addDriver(byte[] bytes) throws Exception ; 97 98 104 String generateLogReport() throws Exception ; 105 106 112 String generateReport() throws Exception ; 113 114 120 String getLoggingConfiguration() throws Exception ; 121 122 128 String saveConfiguration() throws Exception ; 129 130 136 void shutdown(int level) throws ControllerException; 137 138 142 147 int getBacklogSize(); 148 149 154 String getControllerName(); 155 156 162 String getJmxName(); 163 164 169 int getPortNumber(); 170 171 177 String getVersionNumber() throws RemoteException ; 178 179 186 String getXml(); 187 188 193 boolean isShuttingDown(); 194 195 200 void setBacklogSize(int size); 201 202 206 213 void refreshLogConfiguration() throws ControllerException; 214 215 223 void updateLogConfigurationFile(String newConfiguration) throws IOException , 224 ControllerException; 225 226 232 String viewLogConfigurationFile() throws IOException ; 233 234 } | Popular Tags |