/**************************************************************************************
 * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved.                 *
 * http://aspectwerkz.codehaus.org                                                    *
 * ---------------------------------------------------------------------------------- *
 * The software in this package is published under the terms of the LGPL license      *
 * a copy of which has been included with this distribution in the license.txt file.  *
 **************************************************************************************/
package examples.logging;

import org.codehaus.aspectwerkz.AspectSystem;
import org.codehaus.aspectwerkz.SystemLoader;
import org.codehaus.aspectwerkz.joinpoint.Rtti;
import org.codehaus.aspectwerkz.joinpoint.JoinPoint;

/**
 * @author <a href="mailto:jboner@codehaus.org">Jonas BonŽr </a>
 */
public abstract class InlinedJoinPointBase implements JoinPoint {

    protected static final Class TARGET_CLASS;

    static {
        try {
            TARGET_CLASS = Class.forName("examples.logging.WeavedTarget");
        } catch (ClassNotFoundException e) {
            throw new RuntimeException("ERROR");
        }
    }

    protected static final AspectSystem SYSTEM = SystemLoader.getSystem(TARGET_CLASS);

    public Class getTargetClass() {
        return TARGET_CLASS;
    }

    public Rtti getRtti() {
        return null;
    }

    public String getType() {
        return null;
    }

    public void reset() {

    }

    public void setTarget(Object targetInstance) {
    }
}