com.ait.tooling.server.mongodb.config.MongoDBApplicationContext.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- /* * Copyright (c) 2014,2015,2016 Ahome' Innovation Technologies. All rights reserved. * * 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. */ --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> <bean id="MongoDBBuildDescriptor" class="com.ait.tooling.server.core.support.spring.BuildDescriptor"> <constructor-arg value="@GRADLE_BUILD_PROJECT_TITLE@"/> <property name="buildUser"> <value><![CDATA[@GRADLE_BUILD_USER@]]></value> </property> <property name="buildDate" value="@GRADLE_BUILD_DATE@"/> <property name="javaVersion" value="@GRADLE_JAVA_VERSION@"/> <property name="buildGITCommitHash" value="@GRADLE_GIT_COMMIT_HASH@"/> <property name="buildGITCommitUser"> <value><![CDATA[@GRADLE_GIT_COMMIT_USER@]]></value> </property> <property name="buildGITCommitMessage"> <value><![CDATA[@GRADLE_GIT_COMMIT_MESSAGE@]]></value> </property> <property name="buildServerHost" value="@GRADLE_BUILD_SERVER_HOST@"/> <property name="buildServerBuild" value="@GRADLE_BUILD_SERVER_BUILD@"/> <property name="buildModuleVersion" value="@GRADLE_BUILD_ARTIFACT_ID@-@[email protected]"/> </bean> <bean id="MongoDBProvider" class="com.ait.tooling.server.mongodb.support.spring.MongoDBProvider" destroy-method="close"> <constructor-arg value="${mongodb.default.properties.base}"/> <constructor-arg value="${mongodb.default.descriptor.name}"/> </bean> </beans>