OSGI-INF.blueprint.autowire.xml Maven / Gradle / Ivy
<?xml version="1.0" ?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"> <bean id="applicationDeploymentListener" class="com.eurodyn.qlack2.webdesktop.impl.listeners.ApplicationDeploymentListener" ext:field-injection="true"> <property name="applicationRegistrationService" ref="applicationRegistrationServiceImpl"/> </bean> <bean id="applicationRegistrationServiceImpl" class="com.eurodyn.qlack2.webdesktop.impl.ApplicationRegistrationServiceImpl" ext:field-injection="true"> <property name="resourceService" ref="resourceService-"/> </bean> <bean id="applicationUndeploymentListener" class="com.eurodyn.qlack2.webdesktop.impl.listeners.ApplicationUndeploymentListener" ext:field-injection="true"> <property name="applicationRegistrationService" ref="applicationRegistrationServiceImpl"/> </bean> <bean id="atmosphereSecurityServiceImpl" class="com.eurodyn.qlack2.webdesktop.impl.AtmosphereSecurityServiceImpl" ext:field-injection="true"> <property name="idmService" ref="iDMService-"/> </bean> <bean id="bootstrap" class="com.eurodyn.qlack2.webdesktop.impl.bootstrap.Bootstrap" ext:field-injection="true" init-method="init"> <property name="bundleContext" ref="blueprintBundleContext"/> <property name="bundleUpdateService" ref="bundleUpdateService-"/> <property name="jsonConfigService" ref="jSONConfigService-"/> <property name="liquibaseBootMigrationsDoneService" ref="liquibaseBootMigrationsDoneService-"/> </bean> <bean id="desktopGroupServiceImpl" class="com.eurodyn.qlack2.webdesktop.impl.DesktopGroupServiceImpl" ext:field-injection="true"> <property name="domainUtil" ref="domainUtil"/> <property name="groupService" ref="userGroupService-"/> <property name="resourceService" ref="resourceService-"/> </bean> <bean id="desktopServiceImpl" class="com.eurodyn.qlack2.webdesktop.impl.DesktopServiceImpl" ext:field-injection="true"> <property name="idmService" ref="iDMService-"/> <property name="operationService" ref="operationService-"/> </bean> <bean id="desktopUserServiceImpl" class="com.eurodyn.qlack2.webdesktop.impl.DesktopUserServiceImpl" ext:field-injection="true"> <property name="domainUtil" ref="domainUtil"/> <property name="groupService" ref="userGroupService-"/> <property name="userService" ref="userService-"/> </bean> <bean id="domainUtil" class="com.eurodyn.qlack2.webdesktop.impl.util.DomainUtil" ext:field-injection="true"> <property name="groupService" ref="userGroupService-"/> <property name="security" ref="securityServiceImpl"/> <property name="userService" ref="userService-"/> </bean> <bean id="i18NServiceImpl" class="com.eurodyn.qlack2.webdesktop.impl.I18NServiceImpl" ext:field-injection="true"> <property name="groupService" ref="groupService-"/> <property name="keyService" ref="keyService-"/> <property name="languageService" ref="languageService-"/> </bean> <bean id="securityServiceImpl" class="com.eurodyn.qlack2.webdesktop.impl.SecurityServiceImpl" ext:field-injection="true"> <property name="domainUtil" ref="domainUtil"/> <property name="groupService" ref="userGroupService-"/> <property name="operationService" ref="operationService-"/> <property name="resourceService" ref="resourceService-"/> <property name="templateService" ref="opTemplateService-"/> <property name="userService" ref="userService-"/> </bean> <bean id="settingsServiceImpl" class="com.eurodyn.qlack2.webdesktop.impl.SettingsServiceImpl" ext:field-injection="true"> <property name="fuseSettingsService" ref="settingsService-"/> </bean> <bean id="userServiceImpl" class="com.eurodyn.qlack2.webdesktop.impl.UserServiceImpl" ext:field-injection="true"> <property name="userService" ref="userService-"/> </bean> <service ref="applicationDeploymentListener" interface="org.osgi.service.event.EventHandler"> <service-properties> <entry key="event.topics" value="org/osgi/framework/BundleEvent/STARTED"/> </service-properties> </service> <service ref="settingsServiceImpl" interface="com.eurodyn.qlack2.webdesktop.api.SettingsService"/> <enable xmlns="http://aries.apache.org/xmlns/jpa/v2.0.0"/> <service ref="userServiceImpl" interface="com.eurodyn.qlack2.webdesktop.api.UserService"/> <reference id="languageService-" interface="com.eurodyn.qlack2.fuse.lexicon.api.LanguageService"/> <reference id="liquibaseBootMigrationsDoneService-" interface="com.eurodyn.qlack2.util.liquibase.api.LiquibaseBootMigrationsDoneService"/> <reference id="opTemplateService-" interface="com.eurodyn.qlack2.fuse.aaa.api.OpTemplateService"/> <reference id="jSONConfigService-" interface="com.eurodyn.qlack2.fuse.aaa.api.JSONConfigService"/> <reference id="groupService-" interface="com.eurodyn.qlack2.fuse.lexicon.api.GroupService"/> <service ref="applicationRegistrationServiceImpl" interface="com.eurodyn.qlack2.webdesktop.api.ApplicationRegistrationService"/> <service ref="desktopUserServiceImpl" interface="com.eurodyn.qlack2.webdesktop.api.DesktopUserService"/> <reference id="resourceService-" interface="com.eurodyn.qlack2.fuse.aaa.api.ResourceService"/> <reference id="settingsService-" interface="com.eurodyn.qlack2.fuse.settings.api.SettingsService"/> <reference id="userService-" interface="com.eurodyn.qlack2.fuse.aaa.api.UserService"/> <reference id="iDMService-" interface="com.eurodyn.qlack2.fuse.idm.api.IDMService"/> <service ref="applicationUndeploymentListener" interface="org.osgi.service.event.EventHandler"> <service-properties> <entry key="event.topics" value="org/osgi/framework/BundleEvent/STOPPED"/> </service-properties> </service> <reference id="keyService-" interface="com.eurodyn.qlack2.fuse.lexicon.api.KeyService"/> <reference id="bundleUpdateService-" interface="com.eurodyn.qlack2.fuse.lexicon.api.BundleUpdateService"/> <service ref="desktopServiceImpl" interface="com.eurodyn.qlack2.webdesktop.api.DesktopService"/> <service ref="desktopGroupServiceImpl" interface="com.eurodyn.qlack2.webdesktop.api.DesktopGroupService"/> <reference id="userGroupService-" interface="com.eurodyn.qlack2.fuse.aaa.api.UserGroupService"/> <service ref="i18NServiceImpl" interface="com.eurodyn.qlack2.webdesktop.api.I18NService"/> <enable xmlns="http://aries.apache.org/xmlns/transactions/v2.0.0"/> <reference id="operationService-" interface="com.eurodyn.qlack2.fuse.aaa.api.OperationService"/> <service ref="securityServiceImpl" interface="com.eurodyn.qlack2.webdesktop.api.SecurityService"/> </blueprint>