Implement functionality to handle @Startup, @PostConstruct and @PreDestroy annotations