jodd-jtx/src/main/java/jodd/jtx/proxy/AnnotationTxAdviceManager.java
@SuppressWarnings( {"unchecked"})
	public void registerAnnotations(final Class<? extends Annotation>[] annotations) {
		this.annotations = annotations;

		this.annotationParsers = new AnnotationParser[annotations.length];

		for (int i = 0; i < annotations.length; i++) {
			annotationParsers[i] = TransactionAnnotationValues.parserFor(annotations[i]);
		}
	}
@SuppressWarnings( {"unchecked"})
	public void registerAnnotations(final Class<? extends Annotation>[] annotations) {
		this.annotations = annotations;

		this.annotationParsers = new AnnotationParser[annotations.length];

		for (int i = 0; i < annotations.length; i++) {
			annotationParsers[i] = TransactionAnnotationValues.parserFor(annotations[i]);
		}
	}
@ SuppressWarnings ( { "unchecked" } ) public void registerAnnotations ( final Class < ? extends Annotation > [ ] annotations ) { this . annotations = annotations ; this . annotationParsers = new AnnotationParser [ annotations . length ] ; for ( int i = 0 ; i < annotations . length ; i ++ ) { annotationParsers [ i ] = TransactionAnnotationValues . parserFor ( annotations [ i ] ) ; } }
Registers new TX annotations.
Registers new TX annotations .