java.lang.Object | |
↳ | org.springframework.dao.support.DaoSupport |
Known Direct Subclasses |
Known Indirect Subclasses |
Generic base class for DAOs, defining template methods for DAO initialization.
Extended by Spring's specific DAO support classes, such as: JdbcDaoSupport, JdoDaoSupport, etc.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger | Logger available to subclasses |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Abstract subclasses must override this to check their configuration.
| |||||||||||
Concrete subclasses can override this for custom initialization behavior.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
|
Logger available to subclasses
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
Abstract subclasses must override this to check their configuration.
Implementors should be marked as final
IllegalArgumentException | in case of illegal configuration |
---|
Concrete subclasses can override this for custom initialization behavior. Gets called after population of this instance's bean properties.
Exception | if DAO initialization fails (will be rethrown as a BeanInitializationException) |
---|