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.0.3.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.0.3.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.8.2 JUnit is a regression testing framework. It is used by the developer who implements unit tests in Java. | 919 |
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 |
The following plugins are used in the spring-retry-1.0.3.RELEASE.jar
The following packages are defined in the spring-retry-1.0.3.RELEASE.jar
org.springframework.classify org.springframework.classify.annotation org.springframework.classify.util org.springframework.retry 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.0.3.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>3.0.5.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>spring-milestone</id> <name>Spring Milestone Repository</name> <url>s3://maven.springframework.org/milestone</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/SpringSource/spring-retry</url> <connection>scm:git:git://github.com/SpringSource/spring-retry.git</connection> <developerConnection>scm:git:ssh://git@github.com/SpringSource/spring-retry.git</developerConnection> <tag>1.0.3.RELEASE</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>spring-release</id> <name>Spring Release Repository</name> <url>s3://maven.springframework.org/release</url> </repository> <snapshotRepository> <id>spring-snapshot</id> <name>Spring Snapshot Repository</name> <url>s3://maven.springframework.org/snapshot</url> </snapshotRepository> </distributionManagement> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.2</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.6.6</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> <pluginRepositories> <pluginRepository> <id>com.springsource.repository.bundles.release</id> <url>http://repository.springsource.com/maven/bundles/release</url> </pluginRepository> </pluginRepositories> <build> <extensions> <extension> <groupId>org.springframework.build.aws</groupId> <artifactId>org.springframework.build.aws.maven</artifactId> <version>3.0.0.RELEASE</version> </extension> </extensions> <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> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</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> <groupId>com.springsource.bundlor</groupId> <artifactId>com.springsource.bundlor.maven</artifactId> <version>1.0.0.RELEASE</version> <inherited>true</inherited> <executions> <execution> <id>bundlor</id> <goals> <goal>bundlor</goal> </goals> </execution> </executions> </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>