You are viewing a plain text version of this content. The canonical link for it is here.
Posted to imperius-dev@incubator.apache.org by "Neeraj Joshi (JIRA)" <ji...@apache.org> on 2008/06/06 14:41:45 UTC
[jira] Commented: (IMPERIUS-8) Access to private variables of
anchor classes in SPL file
[ https://issues.apache.org/jira/browse/IMPERIUS-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603065#action_12603065 ]
Neeraj Joshi commented on IMPERIUS-8:
-------------------------------------
Committed fix and made sure it works fine
Thanks
Neeraj
> Access to private variables of anchor classes in SPL file
> ---------------------------------------------------------
>
> Key: IMPERIUS-8
> URL: https://issues.apache.org/jira/browse/IMPERIUS-8
> Project: Imperius
> Issue Type: New Feature
> Reporter: Reza Asadollahi
> Assignee: Bill Stoddard
> Priority: Minor
> Attachments: patch.txt
>
>
> Currently, a policy can not access the anchor class private attributes via their getter and setter methods, and the attributes should be defined "public" instead. It is possible to call a getter method in the "condition" section but it is more interesting to read and write attributes in an expression-like language. For example bean.attr1 should be translated internally to bean.getAttr1().
> What we could do is first check if bean.attr1 is accessible (ie is public) if not we can try doing bean.getAttr1()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.