org.osgl.inject.PostConstructProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of genie Show documentation
Show all versions of genie Show documentation
A JSR330 style dependency injection solution
package org.osgl.inject;
import java.lang.annotation.Annotation;
/**
* Define the logic that needs to be invoked on the bean before return back
*/
public interface PostConstructProcessor {
/**
* Process a `T` typed bean with the relevant annotation instance
* @param bean the bean to be processed
* @param annotation the relevant annotation tagged on the parameter or field
*/
void process(T bean, Annotation annotation);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy