POJO setter

View: New views
2 Messages — Rating Filter:   Alert me  

POJO setter

by Roland Naudin - EBM WebSourcing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello PEtALS user.

I want to change a little bit the setter mechanism in the POJO
component.

Currently, the setter in the POJO can be of the form setXXX(MyFieldClass
myfield)

I want to change this rule in a more strictly signature :
setMyFieldClass(MyFieldClass myfield).

In the futur, i want to control at the deployment time and with
reflexivity the signatures of the public setter declared in the POJO.
All public setter which doesn't match the signature pattern would
trigger a rejection of the deployment of the POJO.

Thus, once the SU containing the POJO is deployed and started, the
effectivity of the POJO is assured.

Any objection?


--
Roland NAUDIN
PEtALS team
EBM Websourcing

Try PEtALS at http://petals.ow2.org




--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

RE : POJO setter

by Deneux, Christophe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[petals-users] POJO setter
No objection.
 
_______________________________________________________________________________
Christophe DENEUX / Capgemini Sud / Méditerranée
Integration Architect / OW2 PEtALS Comitter
Tel: + 33 4 93 95 55 92 /
www.capgemini.com
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
_______________________________________________________________________________
Please consider the environment and do not print this email unless absolutely necessary. Capgemini encourages environmental awareness.


De: Roland Naudin - EBM WebSourcing [mailto:roland.naudin@...]
Date: lun. 22/09/2008 17:41
À: petals-users
Objet : [petals-users] POJO setter

Hello PEtALS user.

I want to change a little bit the setter mechanism in the POJO
component.

Currently, the setter in the POJO can be of the form setXXX(MyFieldClass
myfield)

I want to change this rule in a more strictly signature :
setMyFieldClass(MyFieldClass myfield).

In the futur, i want to control at the deployment time and with
reflexivity the signatures of the public setter declared in the POJO.
All public setter which doesn't match the signature pattern would
trigger a rejection of the deployment of the POJO.

Thus, once the SU containing the POJO is deployed and started, the
effectivity of the POJO is assured.

Any objection?


--
Roland NAUDIN
PEtALS team
EBM Websourcing

Try PEtALS at http://petals.ow2.org




--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws