1 19 24 package org.netbeans.modules.j2ee.sun.api; 25 26 import java.io.File ; 27 import java.util.HashSet ; 28 import org.netbeans.modules.j2ee.deployment.common.api.DatasourceAlreadyExistsException; 29 import org.netbeans.modules.j2ee.deployment.common.api.Datasource; 30 31 35 public interface ResourceConfiguratorInterface { 36 37 public boolean isJMSResourceDefined(String jndiName, File dir); 38 39 public void createJMSResource(String jndiName, String msgDstnType, String msgDstnName, String ejbName, File dir); 40 41 public void createJDBCDataSourceFromRef(String refName, String databaseInfo, File dir); 42 43 public String createJDBCDataSourceForCmp(String beanName, String databaseInfo, File dir); 44 45 public Datasource createDataSource(String jndiName, String url, String username, String password, String driver, File dir) throws DatasourceAlreadyExistsException; 46 47 public HashSet getServerDataSources(); 48 49 public HashSet getResources(File dir); 50 51 } 52 | Popular Tags |