driven bean class?

Which is a valid PostConstruct method in a messagE. driven bean class?

Which is a valid PostConstruct method in a messagE. driven bean class?

A.
@PostConstruct
public boolean init() { return true; }

B.
@PostConstruct
private static void init() {}

C.
@PostConstruct private void init() {}

D.
@PostConstruct
public static void init() {}



Leave a Reply 0

Your email address will not be published. Required fields are marked *