0 Replies Latest reply on Apr 11, 2006 2:23 PM by asack

    Accessing custom annotations on an EJB3 bean at runtime?

    asack

      I've used the @PostConstruct lifecycle method to pass the bean itself for post processing which seems to contain all the annotations to process via Reflect.

      But besides that, is there a way to find out what annotations are on an EJB3 bean at runtime? Let's say I have a SLSB with some custom annotations, do I need to process them at bean construct time or can I get access them directly anytime I want? (I'm not sure how since the home/remote provide the view to the rest of the world over the bean). Is there something in MEJB that could help me?

      Sorry for the rambling...