You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Dan Diephouse <da...@envoisolutions.com> on 2004/10/30 19:35:57 UTC

LifeCycle Support

I am looking at the Controls Programming tutorial and in the JMS example 
it has:

@EventHandler (field="context", eventSet=ControlBeanContext.Lifecycle.class , eventName="onRelease")
public void onRelease()


Yet there isn't an "onRelease" method on the LifeCycle class.  Is this 
supported at all?

    [apt] Compiling 1 source file to 
C:\eclipse\workspace\controlhaus-hibernate\target\classes
    [apt] warning: Annotation types without processors: 
[org.apache.beehive.controls.api.context.Context, org.apache.bee
hive.controls.api.events.EventHandler]
    [apt] 
C:\eclipse\workspace\controlhaus-hibernate\src\main\org\controlhaus\hibernate\HibernateControlImpl.java:75: 
No
 event method with matching name and signature found on EventSet: 
org.apache.beehive.controls.api.context.ControlBeanCon
text.LifeCycle
    [apt]     public void onRelease()
    [apt]                 ^

Thanks,
Dan

-- 
Dan Diephouse
Envoi Solutions LLC
http://envoisolutions.com/people/dan