This registry processor will check for objects that have JSR-250 lifecycle annotations defined and validates that the following conditions are met (according to the JSR-250 spec)
The method MUST NOT have any parameters except in the case of EJB interceptors in which case it takes an InvocationContext object as defined by the EJB specification. Note that Mule is not an EJB container so the EJB case is ignored in Mule.
The return type of the method MUST be void.
The method MUST NOT throw a checked exception.
The method on which PostConstruct is applied MAY be public, protected, package private or private.
The method MUST NOT be static except for the application client.
The method MAY be final or non-final, except in the case of EJBs where it MUST be non-final. Note that Mule is not an EJB container so the EJB case is ignored in Mule.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.