javax.annotation.Resource Java Examples
The following examples show how to use
javax.annotation.Resource.
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: CommonAnnotationBeanPostProcessorTests.java From java-technology-stack with MIT License | 5 votes |
@Resource public void setTestBean2(TestBean testBean2) { if (this.testBean2 != null) { throw new IllegalStateException("Already called"); } this.testBean2 = testBean2; }
Example #2
Source File: DataSourceConfManagementAction.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="qcharts.service.DataSourceConfService") @Required public void setDataSourceConfService( IDataSourceConfService<DataSourceConfVO, QcDataSourceConf, String> dataSourceConfService) { this.dataSourceConfService = dataSourceConfService; }
Example #3
Source File: PdcaDocServiceImpl.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="bsc.dao.PdcaDocDAO") @Required public void setPdcaDocDAO( IPdcaDocDAO<BbPdcaDoc, String> pdcaDocDAO) { this.pdcaDocDAO = pdcaDocDAO; }
Example #4
Source File: RoleLogicServiceImpl.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="core.service.SysCodeService") @Required public void setSysCodeService( ISysCodeService<SysCodeVO, TbSysCode, String> sysCodeService) { this.sysCodeService = sysCodeService; }
Example #5
Source File: WorkspaceServiceImpl.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="bsc.dao.WorkspaceDAO") @Required public void setWorkspaceDAO( IWorkspaceDAO<BbWorkspace, String> workspaceDAO) { this.workspaceDAO = workspaceDAO; }
Example #6
Source File: SystemExpressionManagementAction.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="core.service.SysExpressionService") @Required public void setSysExpressionService( ISysExpressionService<SysExpressionVO, TbSysExpression, String> sysExpressionService) { this.sysExpressionService = sysExpressionService; }
Example #7
Source File: NettyHttpServerEngineFactory.java From cxf with Apache License 2.0 | 5 votes |
/** * This call is used to set the bus. It should only be called once. * * @param bus */ @Resource(name = "cxf") public final void setBus(Bus bus) { this.bus = bus; if (bus != null) { bus.setExtension(this, NettyHttpServerEngineFactory.class); lifeCycleManager = bus.getExtension(BusLifeCycleManager.class); if (null != lifeCycleManager) { lifeCycleManager.registerLifeCycleListener(this); } } }
Example #8
Source File: DataQueryLogicServiceImpl.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="qcharts.service.DataSourceDriverService") @Required public void setDataSourceDriverService( IDataSourceDriverService<DataSourceDriverVO, QcDataSourceDriver, String> dataSourceDriverService) { this.dataSourceDriverService = dataSourceDriverService; }
Example #9
Source File: KpiOrgaServiceImpl.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="bsc.dao.KpiOrgaDAO") @Required public void setKpiOrgaDAO( IKpiOrgaDAO<BbKpiOrga, String> kpiOrgaDAO) { this.kpiOrgaDAO = kpiOrgaDAO; }
Example #10
Source File: ApplicationSystemLogicServiceImpl.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="core.service.SysIconService") @Required public void setSysIconService( ISysIconService<SysIconVO, TbSysIcon, String> sysIconService) { this.sysIconService = sysIconService; }
Example #11
Source File: SystemFormTemplateManagementAction.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="core.service.SysFormTemplateService") @Required public void setSysFormTemplateService( ISysFormTemplateService<SysFormTemplateVO, TbSysFormTemplate, String> sysFormTemplateService) { this.sysFormTemplateService = sysFormTemplateService; }
Example #12
Source File: OrganizationLogicServiceImpl.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="bsc.service.TsaMeasureFreqService") @Required public void setTsaMeasureFreqService( ITsaMeasureFreqService<TsaMeasureFreqVO, BbTsaMeasureFreq, String> tsaMeasureFreqService) { this.tsaMeasureFreqService = tsaMeasureFreqService; }
Example #13
Source File: AnalyticsConfigLogicServiceImpl.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="qcharts.service.OlapConfService") @Required public void setOlapConfService( IOlapConfService<OlapConfVO, QcOlapConf, String> olapConfService) { this.olapConfService = olapConfService; }
Example #14
Source File: SystemTemplateLogicServiceImpl.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Resource(name="core.service.SysTemplateService") @Required public void setSysTemplateService( ISysTemplateService<SysTemplateVO, TbSysTemplate, String> sysTemplateService) { this.sysTemplateService = sysTemplateService; }
Example #15
Source File: ObjectivesDashboardAction.java From bamboobsc with Apache License 2.0 | 5 votes |
@Autowired @Required @Resource(name="bsc.service.VisionService") public void setVisionService( IVisionService<VisionVO, BbVision, String> visionService) { this.visionService = visionService; }
Example #16
Source File: ReportInfoController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setMessageHelper(MessageHelper messageHelper) { this.messageHelper = messageHelper; }
Example #17
Source File: StoreInfoController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setMessageHelper(MessageHelper messageHelper) { this.messageHelper = messageHelper; }
Example #18
Source File: RoleController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setRoleDefManager(RoleDefManager roleDefManager) { this.roleDefManager = roleDefManager; }
Example #19
Source File: MeetingResource.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setMeetingRoomManager(MeetingRoomManager meetingRoomManager) { this.meetingRoomManager = meetingRoomManager; }
Example #20
Source File: StoreInfoController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setExportor(Exportor exportor) { this.exportor = exportor; }
Example #21
Source File: PurchaseOrderRegisiterServiceImp.java From OA with GNU General Public License v3.0 | 4 votes |
@Resource public void setSuperDao(SuperDao superDao) { this.superDao = superDao; }
Example #22
Source File: UserConnectorBatchController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setUserStatusManager(UserStatusManager userStatusManager) { this.userStatusManager = userStatusManager; }
Example #23
Source File: AuthDeployer.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setAccessManager(AccessManager accessManager) { this.accessManager = accessManager; }
Example #24
Source File: PermTypeController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setTenantHolder(TenantHolder tenantHolder) { this.tenantHolder = tenantHolder; }
Example #25
Source File: SendmailHistoryController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setExportor(Exportor exportor) { this.exportor = exportor; }
Example #26
Source File: AvatarApiController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setTenantHolder(TenantHolder tenantHolder) { this.tenantHolder = tenantHolder; }
Example #27
Source File: WorkcalRuleController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setMessageHelper(MessageHelper messageHelper) { this.messageHelper = messageHelper; }
Example #28
Source File: AssetLendController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setAssetInfoManager(AssetInfoManager assetInfoManager) { this.assetInfoManager = assetInfoManager; }
Example #29
Source File: PlmRequirementController.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setPlmLogManager(PlmLogManager plmLogManager) { this.plmLogManager = plmLogManager; }
Example #30
Source File: ReportDeployer.java From lemon with Apache License 2.0 | 4 votes |
@Resource public void setReportDimManager(ReportDimManager reportDimManager) { this.reportDimManager = reportDimManager; }