beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Song (JIRA)" <>
Subject [jira] Closed: (BEEHIVE-179) context.getControlPropertySet() should return null for non-existent annotation
Date Mon, 20 Jun 2005 20:04:17 GMT
     [ ]
James Song closed BEEHIVE-179:

Optional propertySet is tested by trunk\controls\test\src\controls\org\apache\beehive\controls\test\controls\property\
and passes.

> context.getControlPropertySet() should return null for non-existent annotation
> ------------------------------------------------------------------------------
>          Key: BEEHIVE-179
>          URL:
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1Beta
>  Environment: Windows
>     Reporter: Lawrence Jones
>     Assignee: James Song
>     Priority: Critical
>      Fix For: V1Beta

> I call
> ServiceControl.TypesJarName typesJarNameAnn =
>                 (ServiceControl.TypesJarName)context.
>                     getControlPropertySet(ServiceControl.TypesJarName.class);
> in the Impl of my control (ServiceControl). TypesJarName is a valid annotation which
is defined in the public interface  but not used in either the public interface nor in the
> I expected to receive null but instead I get a non-null object with defaulted values
for its members.
> This is at odds with the javadoc for the API ControlBeanContext.getControlPropertySet()
and in any case you need a way to be able to tell whether an annotation is present or not
(especially if you have marker annotations).

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