KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > aspectj > lang > reflect > DeclareSoft


1 /* *******************************************************************
2  * Copyright (c) 2005 Contributors.
3  * All rights reserved.
4  * This program and the accompanying materials are made available
5  * under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution and is available at
7  * http://eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Adrian Colyer Initial implementation
11  * ******************************************************************/

12 package org.aspectj.lang.reflect;
13
14 /**
15  * AspectJ runtime representation of a declare soft member within an aspect.
16  */

17 public interface DeclareSoft {
18     
19     /**
20      * The aspect that declared this member
21      */

22     AjType getDeclaringType();
23     
24     /**
25      * The softened exception type
26      */

27     AjType getSoftenedExceptionType() throws ClassNotFoundException JavaDoc;
28     
29     /**
30      * The pointcut determining the join points at which the exception is to be softened.
31      */

32     PointcutExpression getPointcutExpression();
33
34 }
35
Popular Tags