[jboss-user] [JBoss Seam] - Re: multiple @Remove, EJB3 incompatible?

pete.muir@jboss.org do-not-reply at jboss.com
Wed Jan 9 08:46:29 EST 2008


There is a bit of trickery here

If you define a method 

@Remove
  | public void remove() {}

(method name doesn't matter)

then Seam assumes it is also the method to call for @Destroy.  What happens if you have multiple methods marked @Remove with no parameters is the last one is taken as the @Destroy method. This is probably wrong. File a JIRA issue.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118277#4118277

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118277



More information about the jboss-user mailing list