package test.org.itscool.commons.aop;
import org.itscool.commons.aop.ProxyMethodHandler;
import org.itscool.commons.aop.ProxyMethodInvocator;

public class HelloAdvice2 implements ProxyMethodHandler{
	public Object invoke(ProxyMethodInvocator invocator) throws Throwable{
		((Hello)invocator.getOriginal()).setName("hanako");
	    Object obj = invocator.proceed();
	    return obj;
	}
	
}