On Feb 24, 2009, at 9:38 AM, Antonio Goncalves wrote:
> Hi Paul,
>
> I am testing the lifecycle management of a resource and added
> @PostConstruct and @PreDestroy callback methods. It only works (i.e
> methods get called) only if they are public. Which is not the way it
> works with other EE specifications (JPA, EJB, WS...) where callback
> methods can have any visibility (private is a common case because
> sometimes you don't want initialization methods to be invoked).
>
> Is that a normal or is it a bug ?
>
Tis a bug. Could you log an issue?
Thanks,
Paul.