Discard instance means that the container must not invoke any business methods or container callbacks
on the instance
Now if my Stateless session bean throws a RuntimeException this would mean that the @PostConstruct callback should not get get called:
However when I invoke the add() method the @PostConstruct method is getting called every time?
The PreDestroy callbacks are not invoked when the bean and the interceptors are discarded as a
result of such exceptions: the lifecycle callback interceptor methods in the chain should perform any
necessary clean-up operations as the interceptor chain unwinds.
Is this because I am using JBoss and another Interceptor is handling the exception?