Files
entaxy-public/system/system-management/profile-manager/src/main/resources/OSGI-INF/blueprint/camel-context.xml

89 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
~~~~~~licensing~~~~~~
profile-manager
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
-->
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<cm:property-placeholder persistent-id="ru.entaxy.esb" update-strategy="reload">
<cm:default-properties>
<cm:property name="is.restore.from.db" value="true"/>
</cm:default-properties>
</cm:property-placeholder>
<bean id="profileManager" class="ru.entaxy.esb.system.management.profile.manager.ProfileManagerImpl"
init-method="restore">
<property name="isRestoreFromDB" value="${is.restore.from.db}"/>
<property name="systemService" ref="systemService"/>
<property name="profileMapper" ref="profileMapper"/>
<property name="bundleManager" ref="bundleManager"/>
<property name="connectorManager" ref="connectorManager"/>
<property name="bridgeProfileManager" ref="bridgeProfileManager"/>
<property name="permissionManager" ref="permissionManager"/>
<property name="routeManager" ref="routeManager"/>
</bean>
<service ref="profileManager" interface="ru.entaxy.esb.system.management.profile.manager.ProfileManager"/>
<bean id="profileMapper" class="ru.entaxy.esb.system.management.profile.manager.mapper.ProfileMapperImpl">
<argument ref="connectorMapper"/>
</bean>
<service ref="profileMapper" interface="ru.entaxy.esb.system.management.profile.manager.mapper.ProfileMapper"/>
<bean id="connectorMapper" class="ru.entaxy.esb.system.management.connector.manager.mapper.ConnectorMapperImpl"/>
<bean id="bridgeProfileMapper"
class="ru.entaxy.esb.system.management.bridge.profile.manager.mapper.BridgeProfileMapperImpl"/>
<reference id="systemService"
interface="ru.entaxy.esb.system.jpa.SystemService"
timeout="30000"
availability="mandatory"/>
<reference id="bundleManager"
interface="ru.entaxy.esb.system.management.bundle.manager.BundleManager"
timeout="30000"
availability="mandatory"/>
<reference id="connectorManager"
interface="ru.entaxy.esb.system.management.connector.manager.ConnectorManager"
timeout="30000"
availability="mandatory"/>
<reference id="bridgeProfileManager"
interface="ru.entaxy.esb.system.management.bridge.profile.manager.BridgeProfileManager"
timeout="30000"
availability="mandatory"/>
<reference id="permissionManager"
interface="ru.entaxy.esb.system.management.permission.manager.PermissionManager"
timeout="30000"
availability="mandatory"/>
<reference id="routeManager"
interface="ru.entaxy.esb.system.management.route.manager.RouteManager"
timeout="30000"
availability="mandatory"/>
</blueprint>