Files
spring-data-redis/template.mf
Christoph Strobl bc1bbd1d39 DATAREDIS-73 - Add support for spring managed transactions.
RedisTemplate now supports enabling of transaction support, which is disabled by default.

In case of enabled transaction support the RedisConnections will be bound to the current thread during ongoing outer transactions. We call MULTI at the beginning and depending on transaction state EXEC or DISCARD at its end.

To support read operations during the transaction we wrap a proxy around the bound connection piping read operations to a new (non thread bound) connection obtained by the underlying RedisConnectionFactory.

Transaction support is available for jedis, lettuce and srp, while had to be skipped for jredis due to the lack of support for MULTI.

Original pull request: #64.
2014-04-25 13:53:36 +02:00

34 lines
1.8 KiB
Plaintext

Bundle-SymbolicName: org.springframework.data.redis
Bundle-Name: Spring Data Redis Support
Bundle-Vendor: Pivotal Software, Inc.
Bundle-ManifestVersion: 2
Import-Package:
sun.reflect;version="0";resolution:=optional
Import-Template:
org.springframework.beans.*;version="[3.2.8, 4.0.2)",
org.springframework.cache.*;version="[3.2.8, 4.0.2)",
org.springframework.context.*;version="[3.2.8, 4.0.2)",
org.springframework.core.*;version="[3.2.8, 4.0.2)",
org.springframework.dao.*;version="[3.2.8, 4.0.2)",
org.springframework.scheduling.*;resolution:="optional";version="[3.2.8, 4.0.2)",
org.springframework.scripting.*;resolution:="optional";version="[3.2.8, 4.0.2)",
org.springframework.util.*;version="[3.2.8, 4.0.2)",
org.springframework.aop.*;version="[3.2.8, 4.0.2)",
org.springframework.cglib.*;version="[3.2.8, 4.0.2)",
org.springframework.oxm.*;resolution:="optional";version="[3.2.8, 4.0.2)",
org.springframework.transaction.support.*;version="[3.2.8, 4.0.2)",
org.aopalliance.*;version="[1.0.0, 2.0.0)";resolution:=optional,
org.apache.commons.logging.*;version="[1.1.1, 2.0.0)",
org.w3c.dom.*;version="0",
javax.xml.transform.*;resolution:="optional";version="0",
org.jredis.*;resolution:="optional";version="[1.0.0, 2.0.0)",
redis.clients.*;resolution:="optional";version="[2.1.0, 2.4.1)",
org.apache.commons.pool2.*;resolution:="optional";version="[1.0, 2.2)",
org.codehaus.jackson.*;resolution:="optional";version="[1.6, 2.0.0)",
com.fasterxml.jackson.*;resolution:="optional";version="[2.0.0, 3.0.0)",
org.apache.commons.beanutils.*;resolution:="optional";version=1.8.5,
redis.*;resolution:="optional";version="[0.2, 1.0)",
com.google.common.*;resolution:="optional";version="[11.0.0, 20.0.0)",
com.lambdaworks.*;resolution:="optional";version="[2.2.0, 3.0.0)",
org.jboss.netty.*;resolution:="optional";version="[3.0.0, 4.0.0)"