KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > aspectwerkz > aspect > management > HasInstanceLevelAspect


1 /**************************************************************************************
2  * Copyright (c) Jonas Bonér, Alexandre Vasseur. All rights reserved. *
3  * http://aspectwerkz.codehaus.org *
4  * ---------------------------------------------------------------------------------- *
5  * The software in this package is published under the terms of the LGPL license *
6  * a copy of which has been included with this distribution in the license.txt file. *
7  **************************************************************************************/

8 package org.codehaus.aspectwerkz.aspect.management;
9
10 /**
11  * Interface throught the runtime system can retrieve instance level aspects for a specific target instance.
12  * <p/>
13  * Should <b>NEVER</b> be implemented by the user, but is applied to target classes by the weaver.
14  *
15  * @author <a HREF="mailto:jboner@codehaus.org">Jonas Bonér </a>
16  */

17 public interface HasInstanceLevelAspect {
18
19     /**
20      * Returns the instance level aspect with a specific name.
21      *
22      * @param aspectClassName the class name of the aspect
23      * @param qualifiedAspectName the qualified name of the aspect
24      * @param containerClassName the aspect container class name
25      * @return the aspect instance
26      */

27     Object JavaDoc aw$getAspect(String JavaDoc aspectClassName, String JavaDoc qualifiedAspectName, String JavaDoc containerClassName);
28 }
29
Popular Tags