beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xibin Zeng (JIRA)" <>
Subject [jira] Created: (BEEHIVE-900) No external configuration for control method parameter
Date Tue, 30 Aug 2005 14:19:04 GMT
No external configuration for control method parameter

         Key: BEEHIVE-900
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: TBD    
 Environment: N/A
 Reporter: Xibin Zeng

Currently, external configuration for control method parameters is not supported:

    // ControlBeanContext.getParameterPropertySet
    public <T extends Annotation> T getParameterPropertySet(Method m, int i, Class<T>
                                    throws IllegalArgumentException, IndexOutOfBoundsException
        if (i >= m.getParameterTypes().length)
            throw new IndexOutOfBoundsException("Invalid parameter index for method:" + m);

        // BUGBUG: Currently, there is no external override mechanism for method parameters
        Annotation [] paramAnnots = m.getParameterAnnotations()[i];
        for (int j = 0; j < paramAnnots.length; j++)
            if (propertySet.isAssignableFrom(paramAnnots[j].getClass()))
                return (T)paramAnnots[j];

        return null;

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message