The idea is that the "direction" attribute defines which properties are get/set or getAndSet. I think we need a clear naming scheme for this.
How about: @property(xpath="/ns:getQuote > > /Symbol", nsdecl="xmlns:ns=' http://fremantle.org'<http://fremantle.org%27/>", > action="get|set|getandset" > ); Paul On Nov 20, 2007 10:13 AM, ant elder <[EMAIL PROTECTED]> wrote: > Thats quite interesting. The execute method is setting the value in the > message payload right? So does something say that the property is a readonly > or updatable or would all properties get checked after execute is called to > see if they've been altered? > > ...ant > > > On Nov 20, 2007 10:02 AM, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > > Folks > > > > How about doing some funky development and creating some annotations. > > > > Basically the idea I have is to simplify development like this: > > > > public class PaulsPOJOMediator { > > > > @property(xpath="/ns:getQuote/Symbol", nsdecl="xmlns:ns=' > > http://fremantle.org' <http://fremantle.org%27>", direction="in"); > > private String symbol; > > > > @property(name="value", xpath="/ns:getQuote/Value", nsdecl="xmlns:ns=' > > http://fremantle.org' <http://fremantle.org%27>", direction="inout"); > > private String value; > > > > @executeMethod > > public void execute() { > > this.value = "55"; > > } > > > > } > > > > -- > > Paul Fremantle > > Co-Founder and VP of Technical Sales, WSO2 > > OASIS WS-RX TC Co-chair > > > > blog: http://pzf.fremantle.org > > [EMAIL PROTECTED] > > > > "Oxygenating the Web Service Platform", www.wso2.com > > > -- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com
