All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.osgl.inject.PostConstructProcessor Maven / Gradle / Ivy

There is a newer version: 1.13.2
Show newest version
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