[DAO-117] Seasar2.4系との組み合わせで、Beanのプロパティにpublicフィールドを使用可能にしました。 Created: 2007-08-22  Updated: 2007-09-17  Resolved: 2007-08-24

Status: Resolved
Project: S2Dao
Component/s: s2dao, s2dao-tiger
Affects Version/s: None
Fix Version/s: 1.0.47-RC1

Type: New Feature Priority: Major
Reporter: azusa Assignee: azusa
Resolution: Fixed Votes: 0
Labels: None


 Description   

Seasar2.4との組み合わせでpublicフィールドをBeanのプロパティとして使用可能にします。

変更点としてはメソッドにつけているTigerアノテーションをフィールドにつけられるようになるのが主だと思います。



 Comments   
Comment by taedium [ 2007-09-17 ]

BeanAspectWeaverはmethodを持っているプロパティのみを対象にしているので、hasWriteMethod()やhasReadMethod()の呼び出しは正当でした。ですので、特に問題ありませんでした。

Comment by taedium [ 2007-08-24 ]

PropertyDescのhasWriteMethod()やhasReadMethod()を
呼び出しているところは、S2.4を使った場合にはisWritable()やisReadable()
を使うようにしないといけないと思います。

ぱっと見対象はBeanAspectWeaverクラスだけのようですけど。

Comment by azusa [ 2007-08-24 ]

対応しました。(r1039~r1044)

Comment by azusa [ 2007-08-22 ]

publicフィールド+定数アノテーションは現状でも動くと思うんですよね。

実際はテスト書かないとわからないですけど。

Comment by taedium [ 2007-08-22 ]

定数アノテーションはサポートしない?

Generated at Fri Apr 26 23:40:07 JST 2024 using Jira 9.15.0#9150000-sha1:9ead8528714127d8cfabf2446010d7e62c0a195c.