
public class DBDAOFactory extends DAOFactory
| Constructor and Description |
|---|
DBDAOFactory(ConnectionFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the DBDAOFactory and close the ConnectionFactory Warning: You need
to close the Connection yourself!
|
DBBusinessDAO |
getBusinessDAO(boolean isCacheable)
Return a BusinessDAO
|
ConnectionFactory |
getConnectionFactory() |
DBHostDAO |
getHostDAO(boolean isCacheable)
Return a HostDAO
|
DBLimitDAO |
getLimitDAO(boolean isCacheable)
Return a LimitDAO
|
String |
getLimitRequest(String request,
int limit,
int offset) |
int |
getMaxConnections() |
DBMultipleMonitorDAO |
getMultipleMonitorDAO(boolean isCacheable)
Return a MultipleMonitorDAO
|
DBRuleDAO |
getRuleDAO(boolean isCacheable)
Return a RuleDAO
|
DBTransferDAO |
getTransferDAO()
Return a TransferDAO
|
closeDAO, getDocumentBuilderFactory, getInstance, initialize, initialize, setInstanceTestOnlypublic DBDAOFactory(ConnectionFactory factory)
public ConnectionFactory getConnectionFactory()
public int getMaxConnections()
getMaxConnections in class DAOFactorypublic DBBusinessDAO getBusinessDAO(boolean isCacheable) throws DAOConnectionException
DAOFactorygetBusinessDAO in class DAOFactoryDAOConnectionException - if cannot create the DAOpublic DBHostDAO getHostDAO(boolean isCacheable) throws DAOConnectionException
DAOFactorygetHostDAO in class DAOFactoryDAOConnectionException - if cannot create the DAOpublic DBLimitDAO getLimitDAO(boolean isCacheable) throws DAOConnectionException
DAOFactorygetLimitDAO in class DAOFactoryDAOConnectionException - if cannot create the DAOpublic DBMultipleMonitorDAO getMultipleMonitorDAO(boolean isCacheable) throws DAOConnectionException
DAOFactorygetMultipleMonitorDAO in class DAOFactoryDAOConnectionException - if cannot create the DAOpublic DBRuleDAO getRuleDAO(boolean isCacheable) throws DAOConnectionException
DAOFactorygetRuleDAO in class DAOFactoryDAOConnectionException - if cannot create the DAOpublic DBTransferDAO getTransferDAO() throws DAOConnectionException
DAOFactorygetTransferDAO in class DAOFactoryDAOConnectionException - if cannot create the DAOpublic String getLimitRequest(String request, int limit, int offset)
getLimitRequest in class DAOFactorypublic void close()
Copyright © 2009–2022 Waarp. All rights reserved.