org.apache.servicemix.store.jdbc
Class JdbcStoreFactory

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

public class JdbcStoreFactory
extends java.lang.Object
implements StoreFactory


Constructor Summary
JdbcStoreFactory()
           
 
Method Summary
 void close(Store store)
           
 JDBCAdapter getAdapter()
           
 javax.sql.DataSource getDataSource()
           
 IdGenerator getIdGenerator()
           
 java.lang.String getTableName()
           
 boolean isClustered()
           
 boolean isCreateDataBase()
           
 boolean isTransactional()
           
 Store open(java.lang.String 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 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
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.