1 23 24 package org.continuent.sequoia.common.jmx.mbeans; 25 26 import java.io.IOException ; 27 import java.rmi.RemoteException ; 28 import java.util.List ; 29 30 import org.continuent.sequoia.common.exceptions.ControllerException; 31 32 39 public interface ControllerMBean 40 { 41 42 46 57 void addVirtualDatabases(String xml) throws ControllerException; 58 59 64 List getVirtualDatabaseNames(); 65 66 70 77 void addDriver(byte[] bytes) throws Exception ; 78 79 86 String saveConfiguration() throws Exception ; 87 88 95 void shutdown() throws ControllerException; 96 97 101 106 int getBacklogSize(); 107 108 114 String getControllerName(); 115 116 122 String getJmxName(); 123 124 129 int getPortNumber(); 130 131 138 String getVersionNumber() throws RemoteException ; 139 140 147 String getXml(); 148 149 154 boolean isShuttingDown(); 155 156 161 void setBacklogSize(int size); 162 163 167 174 void refreshLogConfiguration() throws ControllerException; 175 176 186 void updateLogConfigurationFile(String newConfiguration) throws IOException , 187 ControllerException; 188 189 197 String viewLogConfigurationFile() throws IOException ; 198 199 } | Popular Tags |