You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org> on 2005/05/12 17:40:21 UTC

[jira] Closed: (BEEHIVE-7) Integrate declarative controls support into WSM

     [ http://issues.apache.org/jira/browse/BEEHIVE-7?page=all ]
     
Jeremiah Johnson closed BEEHIVE-7:
----------------------------------

    Assign To: Jeremiah Johnson  (was: Michael Merz)

Declarative usages of Controls is available in JWS.  There are a couple samples and DRTs and has been documented that APT needs to run on the .JWS.  There are some DRTs for EventHandler, but I didn't see any samples in JWS outside of the DRTs.  I wrote my own sample and verified that events are getting called in the JWS as expected.

> Integrate declarative controls support into WSM
> -----------------------------------------------
>
>          Key: BEEHIVE-7
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-7
>      Project: Beehive
>         Type: Task
>   Components: Web Services (181)
>     Versions: V1Alpha
>     Reporter: Kenneth Tam
>     Assignee: Jeremiah Johnson
>      Fix For: V1Alpha

>
> WSM needs to support declarative usage of controls -- in other words, it needs to be a Java control client.  This means supporting auto-initialization of control type fields annotated with @Control, and hooking up of event handler methods annotated with @EventHandler.
> High level steps needed to make this happen:
> 1) Ensure the WSM build process passes WMS sources through apt, and that the ControlClientAnnotationProcessor in controls.jar is registered with apt during that process.  For each WSM file Foo.java that uses controls, a corresponding FooClientInitializer.class should be generated by this build process.
> 2) When an instance of a WSM class that uses controls is instantiated, the corresponding initializer class should be loaded and its initialize method executed.  See org.apache.beehive.controls.runtime.bean.ControlBean's ensureControl() method for details on how this can be done.

-- 
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