Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-900

No external configuration for control method parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Controls
    • None
    • N/A

    Description

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

      //
      // ControlBeanContext.getParameterPropertySet
      //
      public <T extends Annotation> T getParameterPropertySet(Method m, int i, Class<T> propertySet)
      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; }

      Attachments

        Activity

          People

            Unassigned Unassigned
            xibin Xibin Zeng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: