org.apache.servicemix.store.jdbc
Class JdbcStoreFactory
java.lang.Object
org.apache.servicemix.store.jdbc.JdbcStoreFactory
- All Implemented Interfaces:
- StoreFactory
public class JdbcStoreFactory
- extends java.lang.Object
- implements StoreFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcStoreFactory
public JdbcStoreFactory()
open
public Store open(java.lang.String name)
throws java.io.IOException
- Specified by:
open
in interface StoreFactory
- Throws:
java.io.IOException
close
public void close(Store store)
throws java.io.IOException
- Specified by:
close
in interface StoreFactory
- Throws:
java.io.IOException
getAdapter
public JDBCAdapter getAdapter()
- Returns:
- Returns the adapter.
getDataSource
public javax.sql.DataSource getDataSource()
- Returns:
- Returns the dataSource.
setDataSource
public void setDataSource(javax.sql.DataSource dataSource)
- Parameters:
dataSource
- The dataSource to set.
isClustered
public boolean isClustered()
- Returns:
- Returns the clustered.
setClustered
public void setClustered(boolean clustered)
- Parameters:
clustered
- The clustered to set.
isTransactional
public boolean isTransactional()
- Returns:
- Returns the transactional.
setTransactional
public void setTransactional(boolean transactional)
- Parameters:
transactional
- The transactional to set.
getIdGenerator
public IdGenerator getIdGenerator()
- Returns:
- Returns the idGenerator.
setIdGenerator
public void setIdGenerator(IdGenerator idGenerator)
- Parameters:
idGenerator
- The idGenerator to set.
getTableName
public java.lang.String getTableName()
- Returns:
- Returns the tableName.
setTableName
public void setTableName(java.lang.String tableName)
- Parameters:
tableName
- The tableName to set.
isCreateDataBase
public boolean isCreateDataBase()
- Returns:
- Returns the createDataBase.
setCreateDataBase
public void setCreateDataBase(boolean createDataBase)
- Parameters:
createDataBase
- The createDataBase to set.
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.