1 package org.hibernate.jmx; 3 4 import org.hibernate.HibernateException; 5 6 11 public interface HibernateServiceMBean { 12 13 18 public String getMapResources(); 19 23 public void setMapResources(String mappingFiles); 24 28 public void addMapResource(String mapResource); 29 30 35 public void setProperty(String property, String value); 36 37 42 public String getProperty(String property); 43 44 48 public String getPropertyList(); 49 50 54 public String getDatasource(); 55 59 public void setDatasource(String datasource); 60 61 65 public String getUserName(); 66 70 public void setUserName(String userName); 71 72 76 public String getPassword(); 77 81 public void setPassword(String password); 82 83 87 public String getDialect(); 88 93 public void setDialect(String dialect); 94 95 99 public String getJndiName(); 100 104 public void setJndiName(String jndiName); 105 106 111 public String getTransactionStrategy(); 112 113 118 public void setTransactionStrategy(String txnStrategy); 119 120 125 public String getUserTransactionName(); 126 131 public void setUserTransactionName(String utName); 132 133 138 public String getTransactionManagerLookupStrategy(); 139 144 public void setTransactionManagerLookupStrategy(String lkpStrategy); 145 146 149 public String getShowSqlEnabled(); 150 153 public void setShowSqlEnabled(String showSql); 154 157 public String getMaximumFetchDepth(); 158 161 public void setMaximumFetchDepth(String fetchDepth); 162 165 public String getJdbcBatchSize(); 166 169 public void setJdbcBatchSize(String batchSize); 170 173 public String getJdbcFetchSize(); 174 177 public void setJdbcFetchSize(String fetchSize); 178 181 public String getQuerySubstitutions(); 182 185 public void setQuerySubstitutions(String querySubstitutions); 186 189 public String getDefaultSchema(); 190 193 public void setDefaultSchema(String schema); 194 197 public String getDefaultCatalog(); 198 201 public void setDefaultCatalog(String catalog); 202 205 public String getJdbcScrollableResultSetEnabled(); 206 209 public void setJdbcScrollableResultSetEnabled(String enabled); 210 213 public String getGetGeneratedKeysEnabled(); 214 217 public void setGetGeneratedKeysEnabled(String enabled); 218 221 public String getCacheProviderClass(); 222 225 public void setCacheProviderClass(String providerClassName); 226 229 public String getQueryCacheEnabled(); 230 233 public void setQueryCacheEnabled(String enabled); 234 237 public String getSecondLevelCacheEnabled(); 238 241 public void setSecondLevelCacheEnabled(String enabled); 242 245 public String getCacheRegionPrefix(); 246 249 public void setCacheRegionPrefix(String prefix); 250 253 public String getMinimalPutsEnabled(); 254 258 public void setMinimalPutsEnabled(String enabled); 259 262 public String getCommentsEnabled(); 263 267 public void setCommentsEnabled(String enabled); 268 271 public String getBatchVersionedDataEnabled(); 272 276 public void setBatchVersionedDataEnabled(String enabled); 277 278 281 public void setFlushBeforeCompletionEnabled(String enabled); 282 285 public String getFlushBeforeCompletionEnabled(); 286 287 290 public void setAutoCloseSessionEnabled(String enabled); 291 294 public String getAutoCloseSessionEnabled(); 295 296 300 public void createSchema() throws HibernateException; 301 305 public void dropSchema() throws HibernateException; 306 307 308 311 public void start() throws HibernateException; 312 315 public void stop(); 316 317 } 318 319 320 321 322 323 324 | Popular Tags |