1 24 25 package org.objectweb.cjdbc.common.jmx.mbeans; 26 27 import java.util.ArrayList ; 28 29 import org.objectweb.cjdbc.common.sql.schema.DatabaseSchema; 30 31 37 public interface DatabaseBackendMBean 38 { 39 48 boolean hasTables(ArrayList tables); 49 50 57 boolean hasTable(String table); 58 59 67 boolean hasStoredProcedure(String procedureName); 68 69 75 boolean isInitialized() throws Exception ; 76 77 82 boolean isReadEnabled(); 83 84 89 boolean isWriteEnabled(); 90 91 97 boolean isDisabled(); 98 99 103 void enableRead(); 104 105 109 void enableWrite(); 110 111 114 void disableRead(); 115 116 122 void disableWrite(); 123 124 130 void disable(); 131 132 137 String getConnectionTestStatement(); 138 139 144 String getDriverClassName(); 145 146 151 String getName(); 152 153 160 String getState(); 161 162 171 ArrayList getPendingRequestsDescription(int count,boolean fromFirst,boolean clone); 172 173 179 ArrayList getActiveTransactions(); 180 181 193 boolean checkDatabaseSchema(); 194 195 201 DatabaseSchema getDatabaseSchema(); 202 203 208 void checkDriverCompliance() throws Exception ; 209 210 215 String getURL(); 216 217 220 boolean isSchemaStatic(); 221 222 227 String getDriverPath(); 228 229 234 void setLastKnownCheckpoint(String checkpoint); 235 236 241 String getLastKnownCheckpoint(); 242 243 249 boolean isJDBCConnected(); 250 251 260 String getSchemaXml(boolean expandSchema); 261 262 269 String getXml(); 270 } | Popular Tags |