Introspecting Private Fields for Spring Pojo Beans
--------------------------------------------------
Key: TUSCANY-2909
URL: https://issues.apache.org/jira/browse/TUSCANY-2909
Project: Tuscany
Issue Type: Bug
Components: Java SCA Spring Implementation Extension
Affects Versions: Java-SCA-Next
Environment: Windows XP, SP2, IBM JDK 1.5
Reporter: Ramkumar Ramalingam
Assignee: Ramkumar Ramalingam
Fix For: Java-SCA-Next
Currently the HeuristicPojoProcessor is used to Heuristically evaluates an
un-annotated Java implementation type to determine services, references, and
properties according to the algorithm described in the SCA Java Client and
Implementation Model Specification.
Today, the HeuristicPojoProcessor is also basically used to introspect Spring
Bean Class to determine services, references and properties as all the Spring
Beans are Java Classes anyways.
Spring Framework allows references and properties to be set as private Fields
(with a public/protected setter & getter methods), whereas SCA only allows
references and properties to be set as public OR protected Fields (in case of
unannotated).
So we need to create a SpringBeanPojoProcessor which can return the references
and properties even if they are declared as private Fields (with a with a
public/protected setter & getter methods).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.