synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <deep...@gmail.com>
Subject Re: POJO command model plus annotations
Date Tue, 20 Nov 2007 10:06:25 GMT

> Folks
>
> How about doing some funky development and creating some annotations.
Sound good , but we can have this feature only in JDK 1.5 or above.

-Deepal
>
> 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
> paul@wso2.com <mailto:paul@wso2.com>
>
> "Oxygenating the Web Service Platform", www.wso2.com
> <http://www.wso2.com> 


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message