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.transform.delegation; 9 10 import org.codehaus.aspectwerkz.transform.Context; 11 12 /*** 13 * Activator alters bytecode at runtime 14 * 15 * @author <a href="mailto:alex@gnilux.com">Alexandre Vasseur </a> 16 */ 17 public interface Activator { 18 /*** 19 * Transforms bytecode at runtime 20 * 21 * @param context 22 * @param klass 23 * @throws Exception 24 */ 25 public abstract void activate(final Context context, final Klass klass) throws Exception; 26 }