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

org.jboss.weld.environment.tomcat.WeldAnnotationProcessor Maven / Gradle / Ivy

There is a newer version: 3.0.0.Alpha1
Show newest version
package org.jboss.weld.environment.tomcat;

import org.apache.AnnotationProcessor;
import org.jboss.weld.environment.servlet.inject.AbstractInjector;
import org.jboss.weld.manager.api.WeldManager;

import javax.naming.NamingException;
import java.lang.reflect.InvocationTargetException;

public class WeldAnnotationProcessor extends AbstractInjector implements AnnotationProcessor {
    public WeldAnnotationProcessor(WeldManager manager) {
        super(manager);
    }

    public void processAnnotations(Object instance) throws IllegalAccessException, InvocationTargetException, NamingException {
        inject(instance);
    }

    public void postConstruct(Object arg0) throws IllegalAccessException, InvocationTargetException {
    }

    public void preDestroy(Object arg0) throws IllegalAccessException, InvocationTargetException {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy