org.springframework.beans.factory.annotation.Required Java Examples

The following examples show how to use org.springframework.beans.factory.annotation.Required. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ForceClassLoadingBean.java    From openemm with GNU Affero General Public License v3.0 5 votes vote down vote up
@Required
public final void setClassesToLoad(final List<String> names) throws Throwable {
	try {
		for(final String name : names) {
			Class.forName(name);
		}
	} catch (ExceptionInInitializerError e) {
		throw e.getCause();
	}
}
 
Example #2
Source File: ComMailingSendActionBasic.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setDkimDao(ComDkimDao dkimDao) {
    this.dkimDao = dkimDao;
}
 
Example #3
Source File: MailingStopServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public final void setCompanyInfoDao(final CompanyInfoDao dao) {
	this.companyInfoDao = Objects.requireNonNull(dao, "Company info DAO is null");
}
 
Example #4
Source File: RecipientExportReporter.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setCompanyDao(ComCompanyDao companyDao) {
	this.companyDao = companyDao;
}
 
Example #5
Source File: ComBirtReportDaoImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setBirtReportFactory(BirtReportFactory birtReportFactory) {
	this.birtReportFactory = birtReportFactory;
}
 
Example #6
Source File: ComMailingLightServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
@Required
   public void setMailingDao(ComMailingDao mailingDao) {
       this.mailingDao = mailingDao;
   }
 
Example #7
Source File: ComTargetAction.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public ComMailingDao getMailingDao() {
	return this.mailingDao;
}
 
Example #8
Source File: EqlToQueryBuilderConverter.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setConfiguration(EqlToQueryBuilderParserConfiguration configuration) {
	this.configuration = configuration;
}
 
Example #9
Source File: FullviewServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public final void setConfigService(final ConfigService service) {
	this.configService = Objects.requireNonNull(service, "Config service cannot be null");
}
 
Example #10
Source File: ComMailingDeliveryStatServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setMailingDao(MailingDao mailingDao) {
    this.mailingDao = mailingDao;
}
 
Example #11
Source File: MailingComponentTargetGroupLocator.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setMailingDao(ComMailingDao mailingDao) {
	this.mailingDao = mailingDao;
}
 
Example #12
Source File: ComMailingBaseAction.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setMailingLightService(ComMailingLightService mailingLightService) {
	this.mailingLightService = mailingLightService;
}
 
Example #13
Source File: ComMailingLightServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
@Required
   public void setMaildropService(final MaildropService service) {
       this.maildropService = service;
   }
 
Example #14
Source File: CalendarCommentServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setCalendarCommentDao(ComCalendarCommentDao calendarCommentDao) {
    this.calendarCommentDao = calendarCommentDao;
}
 
Example #15
Source File: ComWorkflowServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setWorkflowValidationService(ComWorkflowValidationService workflowValidationService) {
    this.workflowValidationService = workflowValidationService;
}
 
Example #16
Source File: ComMailingParameterServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setMailingParameterLogService(MailingParameterLogService mailingParameterLogService) {
	this.mailingParameterLogService = mailingParameterLogService;
}
 
Example #17
Source File: LinkServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public final void setHashTagEvaluationService(final HashTagEvaluationService service) {
	this.hashTagEvaluationService = Objects.requireNonNull(service, "HashTagEvaluationSerice is null");
}
 
Example #18
Source File: LoginTrackServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public final void setLoginTrackSettingsDao(final LoginTrackSettingsDao dao) {
	this.settingsDao = Objects.requireNonNull(dao, "Login track settings DAO is null");
}
 
Example #19
Source File: BindingBulkServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setBindingEntryDao(ComBindingEntryDao bindingEntryDao) {
	this.bindingEntryDao = bindingEntryDao;
}
 
Example #20
Source File: OnepixelDaoImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setConfigService(ConfigService configService) {
	this.configService = configService;
}
 
Example #21
Source File: ProfileImportAction.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setRecipientDao(ComRecipientDao recipientDao) {
	this.recipientDao = recipientDao;
}
 
Example #22
Source File: DataSourceServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setWebserviceUserDao(WebserviceUserDao webserviceUserDao) {
	this.webserviceUserDao = webserviceUserDao;
}
 
Example #23
Source File: BindingServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setBindingEntryDao(ComBindingEntryDao bindingEntryDao) {
	this.bindingEntryDao = bindingEntryDao;
}
 
Example #24
Source File: RecipientAction.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setDeliveryService(DeliveryService deliveryService) {
    this.deliveryService = deliveryService;
}
 
Example #25
Source File: ProfileFieldValidationServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setDatabaseKeywordList(KeywordList databaseKeywordList) {
    this.databaseKeywordList = databaseKeywordList;
}
 
Example #26
Source File: MailinglistApprovalServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public final void setAdminService(final AdminService service) {
	this.adminService = Objects.requireNonNull(service, "Admin service is null");
}
 
Example #27
Source File: FulltextSearchQueryGeneratorImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setReservedLiteralsConfig(FulltextSearchReservedLiteralsConfig reservedLiteralsConfig) {
    this.reservedLiteralsConfig = reservedLiteralsConfig;
}
 
Example #28
Source File: ComMailingBaseServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setUndoMailingComponentDao(ComUndoMailingComponentDao undoMailingComponentDao) {
    this.undoMailingComponentDao = undoMailingComponentDao;
}
 
Example #29
Source File: PollingServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setWorkerExecutorService(ExecutorService workerExecutorService) {
    this.workerExecutorService = workerExecutorService;
}
 
Example #30
Source File: AdminServiceImpl.java    From openemm with GNU Affero General Public License v3.0 4 votes vote down vote up
@Required
public void setSupervisorDao(ComSupervisorDao dao) {
	this.supervisorDao = dao;
}