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()
Return a BusinessDAO
|
ConnectionFactory |
getConnectionFactory() |
DBHostDAO |
getHostDAO()
Return a HostDAO
|
DBLimitDAO |
getLimitDAO()
Return a LimitDAO
|
int |
getMaxConnections() |
DBMultipleMonitorDAO |
getMultipleMonitorDAO()
Return a MultipleMonitorDAO
|
DBRuleDAO |
getRuleDAO()
Return a RuleDAO
|
DBTransferDAO |
getTransferDAO()
Return a TransferDAO
|
closeDAO, getDocumentBuilderFactory, getInstance, initialize, initialize
public DBDAOFactory(ConnectionFactory factory)
public ConnectionFactory getConnectionFactory()
public int getMaxConnections()
getMaxConnections
in class DAOFactory
public DBBusinessDAO getBusinessDAO() throws DAOConnectionException
DAOFactory
getBusinessDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic DBHostDAO getHostDAO() throws DAOConnectionException
DAOFactory
getHostDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic DBLimitDAO getLimitDAO() throws DAOConnectionException
DAOFactory
getLimitDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic DBMultipleMonitorDAO getMultipleMonitorDAO() throws DAOConnectionException
DAOFactory
getMultipleMonitorDAO
in class DAOFactory
DAOConnectionException
- if cannot create the DAOpublic DBRuleDAO getRuleDAO() 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 void close()
Copyright © 2009–2020 Waarp. All rights reserved.