params.setInterfaces(new Class[] {SomeInterface.class});
params.setMixins(new AOPProxyFactoryMixin[] {
new AOPProxyFactoryMixin(OtherMixin.class, new Class[] {OtherMixinInterface.class, OtherMixinInterface2.class}, "20")
});
SimpleMetaData data = new SimpleMetaData();
data.addMetaData("TEST", "value", "metadata");
params.setSimpleMetaData(data);
params.setTarget(new SerializablePOJO());
AOPProxyFactory factory = new GeneratedAOPProxyFactory();
SomeInterface si = (SomeInterface)factory.createAdvisedProxy(params);