use of org.springframework.beans.factory.annotation.Required in project uPortal by Jasig.
the class SqlPortalDataFunction method setDataSource.
@Required
public void setDataSource(DataSource dataSource) {
final JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
jdbcTemplate.afterPropertiesSet();
this.jdbcOperations = jdbcTemplate;
}
use of org.springframework.beans.factory.annotation.Required in project uPortal by Jasig.
the class ProfilesDataFunction method setDataSource.
@Required
public void setDataSource(DataSource dataSource) {
final JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
jdbcTemplate.afterPropertiesSet();
this.jdbcOperations = jdbcTemplate;
}
use of org.springframework.beans.factory.annotation.Required in project uPortal by Jasig.
the class PermissionSetsDataFunction method setDataSource.
@Required
public void setDataSource(DataSource dataSource) {
final JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
jdbcTemplate.afterPropertiesSet();
this.jdbcOperations = jdbcTemplate;
}
Aggregations