[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3765) @Observer should support array arguments like Object... args

Ron Thijssen (JIRA) jira-events at lists.jboss.org
Fri Nov 28 05:03:36 EST 2008

@Observer should support array arguments like Object... args

                 Key: JBSEAM-3765
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3765
             Project: Seam
          Issue Type: Feature Request
          Components: Core
    Affects Versions: 2.1.0.SP1
            Reporter: Ron Thijssen

The signature for raising an event with parameters is:
public void raiseEvent(String type, Object... parameters);

Passing multiple parameters to the event is possible, but it requires the Observer method to contain all passed parameters in its method signature.

raisEvent("test", "Test", Boolean.FALSE) 
requires the following observer method signature:
public void catchTest(String s, Boolean b);

Wouldn't it be practical to add support to the following method signature also?
public void catchTest(Object... args);

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


More information about the seam-issues mailing list