Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

SAK-132 API calls for latest authZGroup info ought to return up-to-date provider information

Package: edu.ucdavis.sakai.component.authzGroup.DbAuthzGroupService

Only create setter methods for spring injection. Spring doesn't need a getter method. If you create a getter method to be used just by this class, make it private

e.g.


// This method is not needed by spring. If you need it for internal use, make it private
public int getRefreshTimeoutSeconds() {
	return refreshTimeoutSeconds;
}

public void setRefreshTimeoutSeconds(int refreshTimeoutSeconds) {
	if(m_logger.isWarnEnabled()) {
		m_logger.warn("setter for authzGroup refresh changed timeout from " +
		this.refreshTimeoutSeconds + " to " + refreshTimeoutSeconds);
	}
	this.refreshTimeoutSeconds = refreshTimeoutSeconds;
}
  • No labels