I thought I'd troll for some insight on the best way to build a custom proxy?
The requirement: I have about 20 beans of various classes. I have another bean where I want to consume these 20 beans with some added functionality. Basically I want to declare 20 entries that wrap the 20 target beans and add 2 more methods, where the behavior of these 2 new methods is controlled by metadata introduced in the XML file.
My current method of resolution: Create a new class that will subclass ProxyConfig and implement FactoryBean - and has its own getters and setters for the metadata properies, and implements the methods I need that are driven off that metadata.
Was there a better way to do this?