[jboss-jira] [JBoss JIRA] Created: (JBPM-843) Custom TaskController variable setting should use getter/setter rather than fields

Peter Muir (JIRA) jira-events at lists.jboss.org
Tue Feb 20 10:58:38 EST 2007


Custom TaskController variable setting should use getter/setter rather than fields
----------------------------------------------------------------------------------

                 Key: JBPM-843
                 URL: http://jira.jboss.com/jira/browse/JBPM-843
             Project: JBoss jBPM
          Issue Type: Bug
          Components: Core Engine
    Affects Versions: jBPM 3.1.4
            Reporter: Peter Muir
         Assigned To: Tom Baeyens
            Priority: Minor


If you do 

<controller class="MyTaskControllerHandler">
   <foo>bar</foo>
</controller>

JBPM attempts to set the value of a field called foo on MyTaskControllerHandler.  IMO it should call setFoo(bar) (encapsulation).  See Seam's org.jboss.seam.util.Reflections for helper methods to do this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list