1 28 29 package org.objectweb.jonas.dbm; 30 31 import java.util.List ; 32 import java.util.Properties ; 33 34 import org.objectweb.jonas.service.ServiceException; 35 36 49 public interface DataBaseServiceImplMBean { 50 53 public List getDataSourcePropertiesFiles() throws Exception ; 54 55 58 public Integer getCurrentNumberOfDataSource(); 59 60 63 public Integer getTotalCurrentNumberOfJDBCConnectionOpen(); 64 65 68 public Properties getDataSourcePropertiesFile(String dsFile) throws Exception ; 69 70 76 public void loadDataSource(String name, Properties prop, Boolean loadFromFile) throws ServiceException ; 77 78 82 public boolean isLoadedDataSource(String dsName); 83 84 87 public void unloadDataSource(String dsName); 88 89 93 public String getDatasourceName(String jndiName); 94 } 95 | Popular Tags |