org.objectweb.jonas.dbm
Interface DataBaseService

All Superinterfaces:
Service
All Known Implementing Classes:
DataBaseServiceImpl

public interface DataBaseService
extends Service

DataBase Service interface.*

Author:
Philippe Durieux Contributor(s): 03/01/14 Adriana Danes Change createDataSource() signature : take additional argument, the datasource name

Method Summary
 void createDataSource(java.lang.String dsName, java.util.Properties dsd)
          create a new DataSource
 void unbindDataSources()
          Unbind dataSource names from the Naming
 
Methods inherited from interface org.objectweb.jonas.service.Service
getName, init, isStarted, setName, start, stop
 

Method Detail

createDataSource

public void createDataSource(java.lang.String dsName,
                             java.util.Properties dsd)
                      throws java.lang.Exception
create a new DataSource

Throws:
java.lang.Exception

unbindDataSources

public void unbindDataSources()
                       throws javax.naming.NamingException
Unbind dataSource names from the Naming

Throws:
javax.naming.NamingException