[ http://issues.apache.org/jira/browse/BEEHIVE-917?page=comments#action_12323064 ]
Jeremiah Johnson commented on BEEHIVE-917: ------------------------------------------ I may be missing something - if so, then sorry for the bad bug. Anyway - with the exception of the real example in Appendix B and an example in section 13, all examples showing a Control implementation in this document should be updated. Some are subtle - for example, Section 6 has a PublisherControlImpl demonstrating declarative instantiation - since the class declaration is shown for PublisherControlImpl, I think that it needs to show the use of ControlImplementation. > Controls Programming leaves off @ControlImplementation > ------------------------------------------------------ > > Key: BEEHIVE-917 > URL: http://issues.apache.org/jira/browse/BEEHIVE-917 > Project: Beehive > Type: Bug > Components: Documentation > Environment: going through docs on dist built from SVN 279793 > Reporter: Jeremiah Johnson > Priority: Minor > Fix For: V1 > > In Section 5 of Controls Programming > (trunk/docs/forrest/release/src/documentation/context/xdocs/controls/programming.xml), > it doesn't mention the ControlImplementation annotation. The Control > Implementation Class example doesn't use the annotation. The text should be > updated to speak of the annotation and the example should use it. > --- current text > The only basic rule for a Control Implementation Class is that it must always > implement the associated Control Public Interface. > --- change that to something like this > The basic rules for a Control Implementation Class are that it must be > annotated with ControlImplementation and it must implement the associated > Control Public Interface. > --- > Don't forget to update the example. The example source as it is will > compile, but if a person were walking through the document and attempted > instantiation of their new control (Section 6) it would fail at runtime with > 'ControlImplementation is missing from control implementation class'. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
