    001/**
    002 * Licensed under the Apache License, Version 2.0 (the "License");
    003 * you may not use this file except in compliance with the License.
    004 * You may obtain a copy of the License at
    005 *
    006 *     http://www.apache.org/licenses/LICENSE-2.0
    007 *
    008 * Unless required by applicable law or agreed to in writing, software
    009 * distributed under the License is distributed on an "AS IS" BASIS,
    010 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    011 * See the License for the specific language governing permissions and
    012 * limitations under the License.
    013 */
    014package org.apache.tapestry5.internal.jpa;
    015
    016import java.util.Set;
    017
    018import javax.enterprise.context.spi.CreationalContext;
    019import javax.enterprise.inject.spi.InjectionPoint;
    020import javax.enterprise.inject.spi.InjectionTarget;
    021
    022public class NoopInjectionTarget<T> implements InjectionTarget<T>
    023{
    024
    025    @Override
    026    public T produce(CreationalContext<T> ctx)
    027    {
    028        // TODO Auto-generated method stub
    029        return null;
    030    }
    031
    032    @Override
    033    public void dispose(T instance)
    034    {
    035        // TODO Auto-generated method stub
    036
    037    }
    038
    039    @Override
    040    public Set<InjectionPoint> getInjectionPoints()
    041    {
    042        // TODO Auto-generated method stub
    043        return null;
    044    }
    045
    046    @Override
    047    public void inject(T instance, CreationalContext<T> ctx)
    048    {
    049        // TODO Auto-generated method stub
    050
    051    }
    052
    053    @Override
    054    public void postConstruct(T instance)
    055    {
    056        // TODO Auto-generated method stub
    057
    058    }
    059
    060    @Override
    061    public void preDestroy(T instance)
    062    {
    063        // TODO Auto-generated method stub
    064
    065    }
    066
    067}