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 import net.sf.joyaop.ObjectFactory; 11 12 /*** 13 * @author Shen Li 14 */ 15 public interface AspectRuntime extends ObjectFactory { 16 void addInterceptor(InterceptorAspect interceptorAspect); 17 18 void addMixin(MixinAspect mixinAspect); 19 20 AspectFactory getAspectFactory(); 21 22 void setAspectFactory(AspectFactory aspectFactory); 23 24 void addInterface(InterfaceAspect interfaceAspect); 25 }