Author: simonetripodi Date: Thu Jul 8 15:30:53 2010 New Revision: 961808 URL: http://svn.apache.org/viewvc?rev=961808&view=rev Log: moved the 2 new factories to the spi package, users can be define their own (I imagine Spring/Guice integration for it)
Added: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/AnnotationRuleProviderFactory.java - copied, changed from r961648, commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/DigesterLoaderHandlerFactory.java - copied, changed from r961650, commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandlerFactory.java Removed: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandlerFactory.java Copied: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/AnnotationRuleProviderFactory.java (from r961648, commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java) URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/AnnotationRuleProviderFactory.java?p2=commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/AnnotationRuleProviderFactory.java&p1=commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java&r1=961648&r2=961808&rev=961808&view=diff ============================================================================== --- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java (original) +++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/AnnotationRuleProviderFactory.java Thu Jul 8 15:30:53 2010 @@ -14,12 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.digester.annotations; +package org.apache.commons.digester.annotations.spi; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; import org.apache.commons.digester.Rule; +import org.apache.commons.digester.annotations.AnnotationRuleProvider; +import org.apache.commons.digester.annotations.DigesterLoadingException; /** * An object capable of providing instances of {...@link AnnotationRuleProvider}. Copied: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/DigesterLoaderHandlerFactory.java (from r961650, commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandlerFactory.java) URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/DigesterLoaderHandlerFactory.java?p2=commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/DigesterLoaderHandlerFactory.java&p1=commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandlerFactory.java&r1=961650&r2=961808&rev=961808&view=diff ============================================================================== --- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/DigesterLoaderHandlerFactory.java (original) +++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/spi/DigesterLoaderHandlerFactory.java Thu Jul 8 15:30:53 2010 @@ -14,11 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.digester.annotations; +package org.apache.commons.digester.annotations.spi; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; +import org.apache.commons.digester.annotations.DigesterLoaderHandler; +import org.apache.commons.digester.annotations.DigesterLoadingException; + /** * An object capable of providing instances of {...@link DigesterLoaderHandler}. *