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, setInstanceTestOnly
public DBDAOFactory(ConnectionFactory factory)
public ConnectionFactory getConnectionFactory()
public int getMaxConnections()
getMaxConnections
in class DAOFactory
public DBBusinessDAO getBusinessDAO(boolean isCacheable) throws DAOConnectionException
DAOFactory
getBusinessDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic DBHostDAO getHostDAO(boolean isCacheable) throws DAOConnectionException
DAOFactory
getHostDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic DBLimitDAO getLimitDAO(boolean isCacheable) throws DAOConnectionException
DAOFactory
getLimitDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic DBMultipleMonitorDAO getMultipleMonitorDAO(boolean isCacheable) throws DAOConnectionException
DAOFactory
getMultipleMonitorDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic DBRuleDAO getRuleDAO(boolean isCacheable) throws DAOConnectionException
DAOFactory
getRuleDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic DBTransferDAO getTransferDAO() throws DAOConnectionException
DAOFactory
getTransferDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic String getLimitRequest(String request, int limit, int offset)
getLimitRequest
in class DAOFactory
public void close()
Copyright © 2009–2022 Waarp. All rights reserved.