I also created a @PreDestroy similar example method and it works, the jndi lookup is successfully done on the @PreDestroy method.