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 aw$getAspect(String aspectClassName, String qualifiedAspectName, String containerClassName);
28 }