Spring Retry.
Spring Retry provides an abstraction around retrying failed operations, with an emphasis on declarative control of the process and policy-based bahaviour that is easy to extend and customize. For instance, you can configure a plain POJO operation to retry if it fails, based on the type of exceptio....
Here is the list of declaration for spring-retry. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.springframework.retry</groupId> <artifactId>spring-retry</artifactId> <version>1.1.0.RELEASE</version> </dependency>
If you think this Maven repository POM file listing for spring-retry is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The spring-retry-1.1.0.RELEASE has 8 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 4.11 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 2031 |
Network | easymock 2.3 EasyMock provides Mock Objects for interfaces in JUnit tests by generating them on the fly using Java's proxy mechanism | 130 |
AOP | aspectjweaver 1.7.4 The AspectJ weaver introduces advices to java classes | 61 |
Spring | spring-test 4.0.3.RELEASE Spring TestContext Framework | 8 |
Spring | spring-context 4.0.3.RELEASE Spring Context | 47 |
Spring | spring-tx 4.0.3.RELEASE Spring Transaction | 12 |
The following plugins are used in the spring-retry-1.1.0.RELEASE.jar
The following packages are defined in the spring-retry-1.1.0.RELEASE.jar
org.springframework.classify org.springframework.classify.annotation org.springframework.classify.util org.springframework.retry org.springframework.retry.annotation org.springframework.retry.backoff org.springframework.retry.context org.springframework.retry.interceptor org.springframework.retry.listener org.springframework.retry.policy org.springframework.retry.support
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.springframework.retry</groupId> <artifactId>spring-retry</artifactId> <version>1.1.0.RELEASE</version> <name>Spring Retry</name> <description><![CDATA[Spring Retry provides an abstraction around retrying failed operations, with an emphasis on declarative control of the process and policy-based bahaviour that is easy to extend and customize. For instance, you can configure a plain POJO operation to retry if it fails, based on the type of exception, and with a fixed or exponential backoff. ]]></description> <url>http://www.springsource.org</url> <organization> <name>SpringSource</name> <url>http://www.springsource.com</url> </organization> <licenses> <license> <name>Apache 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <packaging>jar</packaging> <properties> <maven.test.failure.ignore>true</maven.test.failure.ignore> <spring.framework.version>4.0.3.RELEASE</spring.framework.version> </properties> <profiles> <profile> <id>strict</id> <properties> <maven.test.failure.ignore>false</maven.test.failure.ignore> </properties> </profile> <profile> <id>fast</id> <properties> <maven.test.skip>true</maven.test.skip> <maven.javadoc.skip>true</maven.javadoc.skip> </properties> </profile> <profile> <id>staging</id> <distributionManagement> <site> <id>spring-site-staging</id> <url>file:///${java.io.tmpdir}/spring-retry/docs</url> </site> <repository> <id>spring-milestone-staging</id> <url>file:///${java.io.tmpdir}/spring-retry/milestone</url> </repository> <snapshotRepository> <id>spring-snapshot-staging</id> <url>file:///${java.io.tmpdir}/spring-retry/snapshot</url> </snapshotRepository> </distributionManagement> </profile> <profile> <id>milestone</id> <distributionManagement> <repository> <id>repo.spring.io</id> <name>Spring Milestone Repository</name> <url>https://repo.spring.io/libs-milestone-local</url> </repository> </distributionManagement> </profile> <profile> <id>central</id> <distributionManagement> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>sonatype-nexus-staging</id> <name>Nexus Release Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <scm> <url>http://github.com/spring-projects/spring-retry</url> <connection>scm:git:git://github.com/spring-projects/spring-retry.git</connection> <developerConnection>scm:git:ssh://git@github.com/spring-projects/spring-retry.git</developerConnection> <tag>HEAD</tag> </scm> <distributionManagement> <!-- see 'staging' profile for dry-run deployment settings --> <downloadUrl>http://www.springsource.com/download/community </downloadUrl> <site> <id>spring-docs</id> <url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-retry/docs/${project.version} </url> </site> <repository> <id>repo.spring.io</id> <name>Spring Release Repository</name> <url>https://repo.spring.io/libs-release-local</url> </repository> <snapshotRepository> <id>repo.spring.io</id> <name>Spring Snapshot Repository</name> <url>https://repo.spring.io/libs-snapshot-local</url> </snapshotRepository> </distributionManagement> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>2.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.6.6</version> <scope>test</scope> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.7.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.framework.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.framework.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <version>${spring.framework.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.14</version> <optional>true</optional> <scope>runtime</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.3</version> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <inherited>false</inherited> <configuration> <descriptorRefs> <descriptorRef>project</descriptorRef> </descriptorRefs> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!--forkMode>pertest</forkMode --> <includes> <include>**/*Tests.java</include> </includes> <excludes> <exclude>**/Abstract*.java</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>javadoc</id> <goals> <goal>jar</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> </plugins> </build> </project>