[jboss-user] [JBoss Seam] - Re: Interceptor Question

xinhua do-not-reply at jboss.com
Wed Apr 25 03:24:56 EDT 2007


"CptnKirk" wrote : So naturally this
  | ....
  |   | @Printout
  |   | public String register(.....)
  |   | .....
  |   | 
  | method is part of an EJB 3 session bean right?

yes. It is a sessionless bean. Actually, when i set up my annotation as ElementType.TYPE and put it on the class definition then it works. 

It does not work if the annotaion is ElementType.METHOD :(

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

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



More information about the jboss-user mailing list