libaopalliance-java-20070526/ 0000755 0001750 0001750 00000000000 10626104376 015602 5 ustar twerner twerner libaopalliance-java-20070526/src/ 0000755 0001750 0001750 00000000000 10626104376 016371 5 ustar twerner twerner libaopalliance-java-20070526/src/main/ 0000755 0001750 0001750 00000000000 10626104376 017315 5 ustar twerner twerner libaopalliance-java-20070526/src/main/org/ 0000755 0001750 0001750 00000000000 10626104376 020104 5 ustar twerner twerner libaopalliance-java-20070526/src/main/org/aopalliance/ 0000755 0001750 0001750 00000000000 10626104376 022354 5 ustar twerner twerner libaopalliance-java-20070526/src/main/org/aopalliance/aop/ 0000755 0001750 0001750 00000000000 10626104376 023133 5 ustar twerner twerner libaopalliance-java-20070526/src/main/org/aopalliance/aop/Advice.java 0000644 0001750 0001750 00000000403 10026623630 025157 0 ustar twerner twerner package org.aopalliance.aop; /** * Tag interface for Advice. Implementations can be any type * of advice, such as Interceptors. * @author Rod Johnson * @version $Id: Advice.java,v 1.1 2004/03/19 17:02:16 johnsonr Exp $ */ public interface Advice { } libaopalliance-java-20070526/src/main/org/aopalliance/aop/AspectException.java 0000644 0001750 0001750 00000002640 10026655560 027076 0 ustar twerner twerner package org.aopalliance.aop; import java.io.PrintStream; import java.io.PrintWriter; import java.io.StringWriter; /** * Superclass for all AOP infrastructure exceptions. * Unchecked, as such exceptions are fatal and end user * code shouldn't be forced to catch them. * * @author Rod Johnson * @author Bob Lee */ public class AspectException extends RuntimeException { private String message; private String stackTrace; private Throwable t; /** * Constructor for AspectException. * @param s */ public AspectException(String s) { super(s); this.message = s; this.stackTrace = s; } /** * Constructor for AspectException. * @param s * @param t */ public AspectException(String s, Throwable t) { super(s + "; nested exception is " + t.getMessage()); this.t = t; StringWriter out = new StringWriter(); t.printStackTrace(new PrintWriter(out)); this.stackTrace = out.toString(); } /** * Return the root cause of this exception. * May be null * @return Throwable */ public Throwable getCause() { return t; } public String toString() { return this.getMessage(); } public String getMessage() { return this.message; } public void printStackTrace() { System.err.print(this.stackTrace); } public void printStackTrace(PrintStream out) { printStackTrace(new PrintWriter(out)); } public void printStackTrace(PrintWriter out) { out.print(this.stackTrace); } } libaopalliance-java-20070526/src/main/org/aopalliance/aop/package.html 0000644 0001750 0001750 00000001175 10155612135 025412 0 ustar twerner twerner
This package provides the most generic and common interfaces for AOP.