Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.injection;
 
 import java.util.Set;
 

Author(s):
Stuart Douglas
public abstract class ForwardingInjectionTarget<T> implements InjectionTarget<T>{
    protected abstract InjectionTarget<T> delegate();
    public void inject(final T instancefinal CreationalContext<T> ctx) {
        delegate().inject(instancectx);
    }
    public void postConstruct(final T instance) {
        delegate().postConstruct(instance);
    }
    public void preDestroy(final T instance) {
        delegate().preDestroy(instance);
    }
    public T produce(final CreationalContext<T> ctx) {
        return delegate().produce(ctx);
    }
    public void dispose(final T instance) {
        delegate().dispose(instance);
    }
    public Set<InjectionPointgetInjectionPoints() {
        return delegate().getInjectionPoints();
    }
New to GrepCode? Check out our FAQ X