From imperius-dev-return-171-apmail-incubator-imperius-dev-archive=incubator.apache.org@incubator.apache.org Fri Jun 20 14:06:35 2008 Return-Path: Delivered-To: apmail-incubator-imperius-dev-archive@locus.apache.org Received: (qmail 37931 invoked from network); 20 Jun 2008 14:06:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2008 14:06:35 -0000 Received: (qmail 15006 invoked by uid 500); 20 Jun 2008 14:06:37 -0000 Delivered-To: apmail-incubator-imperius-dev-archive@incubator.apache.org Received: (qmail 14999 invoked by uid 500); 20 Jun 2008 14:06:37 -0000 Mailing-List: contact imperius-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: imperius-dev@incubator.apache.org Delivered-To: mailing list imperius-dev@incubator.apache.org Received: (qmail 14988 invoked by uid 99); 20 Jun 2008 14:06:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 07:06:37 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 14:05:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0D6CA234C14A for ; Fri, 20 Jun 2008 07:05:45 -0700 (PDT) Message-ID: <1917061139.1213970745054.JavaMail.jira@brutus> Date: Fri, 20 Jun 2008 07:05:45 -0700 (PDT) From: "Neeraj Joshi (JIRA)" To: imperius-dev@incubator.apache.org Subject: [jira] Commented: (IMPERIUS-8) Access to private variables of anchor classes in SPL file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IMPERIUS-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606766#action_12606766 ] Neeraj Joshi commented on IMPERIUS-8: ------------------------------------- Committed changes submitted by Naidu > 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: AnchorMethodInvokeAction_Patch.txt, IdentPrimaryTuple_Patch.txt, JavaActuator_Patch.txt, patch.txt, RunSamples_Patch.txt, SimplePolicy.spl, TestElement.java, TestElement_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.