org.apache.servicemix.store.jdbc
Class JdbcStoreFactory

java.lang.Object
  extended by org.apache.servicemix.store.base.BaseStoreFactory
      extended by org.apache.servicemix.store.jdbc.JdbcStoreFactory
All Implemented Interfaces:
StoreFactory

public class JdbcStoreFactory
extends BaseStoreFactory


Field Summary
 
Fields inherited from class org.apache.servicemix.store.base.BaseStoreFactory
storeListeners
 
Constructor Summary
JdbcStoreFactory()
           
 
Method Summary
 void close(Store store)
          Closes a Store with the specified name,
 JDBCAdapter getAdapter()
           
 javax.sql.DataSource getDataSource()
           
 IdGenerator getIdGenerator()
           
 java.lang.String getTableName()
           
 boolean isClustered()
           
 boolean isCreateDataBase()
           
 boolean isTransactional()
           
 Store open(java.lang.String name)
          Opens a Store with the specified name.
 void setClustered(boolean clustered)
           
 void setCreateDataBase(boolean createDataBase)
           
 void setDataSource(javax.sql.DataSource dataSource)
           
 void setIdGenerator(IdGenerator idGenerator)
           
 void setTableName(java.lang.String tableName)
           
 void setTransactional(boolean transactional)
           
 
Methods inherited from class org.apache.servicemix.store.base.BaseStoreFactory
getStoreListeners, setStoreListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcStoreFactory

public JdbcStoreFactory()
Method Detail

open

public Store open(java.lang.String name)
           throws java.io.IOException
Description copied from interface: StoreFactory
Opens a Store with the specified name.

Returns:
Throws:
java.io.IOException

close

public void close(Store store)
           throws java.io.IOException
Description copied from interface: StoreFactory
Closes a Store with the specified name,

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 FuseSource. All Rights Reserved.