1 /************************************************* 2 * Copyright (c) Shen Li. All rights reserved. * 3 * http://joyaop.sourceforge.net * 4 * -------------------------------------------- * 5 * Distributable under LGPL license. * 6 * See terms of license at gnu.org. * 7 ************************************************/ 8 package net.sf.joyaop.framework; 9 10 /*** 11 * @author Shen Li 12 */ 13 public interface Aspect { 14 void weave(AspectizedClass aspectizedClass); 15 16 Class getAspectClass(); 17 18 Pointcut getPointcut(); 19 20 void setPointcut(Pointcut pointcut); 21 22 void setAspectClass(Class aspectClass); 23 }