/************************************************
 * Copyright (c) Shen Li. All rights reserved.  *
 * http://joyaop.sourceforge.net                *
 * -------------------------------------------- *
 * Distributable under LGPL license.            *
 * See terms of license at gnu.org.             *
 ************************************************/
package net.sf.joyaop.demo.simple;

import net.sf.joyaop.ObjectFactory;
import net.sf.joyaop.config.XmlConfiguration;
import net.sf.joyaop.impl.AspectRuntimeImpl;

/**
 * @author Shen Li
 */
public class Main {
    public static void main(String[] args) {
        ObjectFactory objectFactory = new AspectRuntimeImpl(new XmlConfiguration("net/sf/joyaop/demo/simple/aop.xml"));
        Target target =  (Target) objectFactory.newInstance(Target.class);
        System.out.println("invoking Target.target()...");
        target.target();
    }
}
