{
InstanceDomain domain = new InstanceDomain(AspectManager.instance(), "test", false);
AspectDefinition def = new AspectDefinition("aspect", Scope.PER_VM, new GenericAspectFactory(EchoInterceptor.class.getName(), null));
domain.addAspectDefinition(def);
AdviceFactory advice = new AdviceFactory(def, "invoke");
domain.addInterceptorFactory(advice.getName(), advice);
{
PointcutExpression pointcut = new PointcutExpression("pointcut", "execution(* " + POJOWithFinalMethods.class.getName() + "->*(..))");
domain.addPointcut(pointcut);
InterceptorFactory[] interceptors = {advice};
AdviceBinding binding = new AdviceBinding("pojo-binding", pointcut, null, null, interceptors);