[jboss-user] [EJB 3.0] - Re: Exception initializing interceptors (EJB3InterceptorsFac

jaikiran do-not-reply at jboss.com
Sun Sep 7 04:11:43 EDT 2008


"pdeshmuk" wrote : Upon further digging, the root cause seems to be the PostConstruct annotated method not liking the ejbCreate method signature (the fact that it throws checked exceptions):
  | 
  | 
  | Any thoughts?
  | 

As per section 12.4 of EJB3 spec,

anonymous wrote : Lifecycle callback interceptor methods defined on a bean class have the following signature:
  | void <METHOD>()

So your ejbCreate method, which you have annotated with @PostConstruct does not follow this rule.


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

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



More information about the jboss-user mailing list