All Downloads are FREE. Search and download functionalities are using the official Maven repository.

refcodes-filesystem-alt-s3.1.0.4.source-code.refcodes-filesystem-context.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===========================================================================
// REFCODES.ORG
// =============================================================================
// This code is copyright (c) by Siegfried Steiner, Munich, Germany and licensed
// under the following (see "http://en.wikipedia.org/wiki/Multi-licensing")
// licenses:
// =============================================================================
// GNU General Public License, v3.0 ("http://www.gnu.org/licenses/gpl-3.0.html")
// =============================================================================
// Apache License, v2.0 ("http://www.apache.org/licenses/LICENSE-2.0")
// =============================================================================
// Please contact the copyright holding author(s) of the software artifacts in
// question for licensing issues not being covered by the above listed licenses,
// also regarding commercial licensing models or regarding the compatibility
// with other open source licenses.
// ========================================================================= -->

<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"
    xmlns:tx="http://www.springframework.org/schema/tx"
    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
        http://www.springframework.org/schema/tx
        http://www.springframework.org/schema/tx/spring-tx.xsd">

	<!-- =================================================================== -->
	<!-- DATA STORE SERVICE                                                  -->
	<!-- =================================================================== -->
    <bean id="fileSystem" class="org.refcodes.fiolesystem.alt.s3.S3FileSystemImpl" lazy-init="true">
		<constructor-arg index="0" value="${FILESYSTEM_AMAZON_S3_BUCKETNAME}"></constructor-arg>
		<constructor-arg index="1">
			<bean class="org.refcodes.factory.alt.spring.utilities.TextDecrypterBean">
				<property name="encryptedText">
					<value>${FILESYSTEM_AMAZON_S3_ACCESSKEY}</value>
				</property>
			</bean>
		</constructor-arg>
		<constructor-arg index="2">
			<bean class="org.refcodes.factory.alt.spring.utilities.TextDecrypterBean">
				<property name="encryptedText">
					<value>${FILESYSTEM_AMAZON_S3_SECRETKEY}</value>
				</property>
			</bean>
		</constructor-arg>
		<constructor-arg index="3" value="${DATASTORE_AMAZON_S3_ENDPOINT}"></constructor-arg>
	</bean>
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy