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

org.apache.tapestry5.internal.jpa.NoopBeanManager Maven / Gradle / Ivy

There is a newer version: 5.9.0-preview-2
Show newest version
/**
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.tapestry5.internal.jpa;

import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.util.List;
import java.util.Set;

import javax.el.ELResolver;
import javax.el.ExpressionFactory;
import javax.enterprise.context.spi.Context;
import javax.enterprise.context.spi.Contextual;
import javax.enterprise.context.spi.CreationalContext;
import javax.enterprise.inject.spi.AnnotatedField;
import javax.enterprise.inject.spi.AnnotatedMember;
import javax.enterprise.inject.spi.AnnotatedMethod;
import javax.enterprise.inject.spi.AnnotatedParameter;
import javax.enterprise.inject.spi.AnnotatedType;
import javax.enterprise.inject.spi.Bean;
import javax.enterprise.inject.spi.BeanAttributes;
import javax.enterprise.inject.spi.BeanManager;
import javax.enterprise.inject.spi.Decorator;
import javax.enterprise.inject.spi.Extension;
import javax.enterprise.inject.spi.InjectionPoint;
import javax.enterprise.inject.spi.InjectionTarget;
import javax.enterprise.inject.spi.InjectionTargetFactory;
import javax.enterprise.inject.spi.InterceptionType;
import javax.enterprise.inject.spi.Interceptor;
import javax.enterprise.inject.spi.ObserverMethod;
import javax.enterprise.inject.spi.ProducerFactory;

public class NoopBeanManager implements BeanManager
{

    @Override
    public Object getReference(Bean bean, Type beanType, CreationalContext ctx)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Object getInjectableReference(InjectionPoint ij, CreationalContext ctx)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  CreationalContext createCreationalContext(Contextual contextual)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Set> getBeans(Type beanType, Annotation... qualifiers)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Set> getBeans(String name)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Bean getPassivationCapableBean(String id)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  Bean resolve(Set> beans)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void validate(InjectionPoint injectionPoint)
    {
        // TODO Auto-generated method stub

    }

    @Override
    public void fireEvent(Object event, Annotation... qualifiers)
    {
        // TODO Auto-generated method stub

    }

    @Override
    public  Set> resolveObserverMethods(T event, Annotation... qualifiers)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List> resolveDecorators(Set types, Annotation... qualifiers)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List> resolveInterceptors(InterceptionType type, Annotation... interceptorBindings)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public boolean isScope(Class annotationType)
    {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean isNormalScope(Class annotationType)
    {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean isPassivatingScope(Class annotationType)
    {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean isQualifier(Class annotationType)
    {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean isInterceptorBinding(Class annotationType)
    {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean isStereotype(Class annotationType)
    {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public Set getInterceptorBindingDefinition(Class bindingType)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Set getStereotypeDefinition(Class stereotype)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public boolean areQualifiersEquivalent(Annotation qualifier1, Annotation qualifier2)
    {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean areInterceptorBindingsEquivalent(Annotation interceptorBinding1, Annotation interceptorBinding2)
    {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public int getQualifierHashCode(Annotation qualifier)
    {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public int getInterceptorBindingHashCode(Annotation interceptorBinding)
    {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public Context getContext(Class scopeType)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public ELResolver getELResolver()
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public ExpressionFactory wrapExpressionFactory(ExpressionFactory expressionFactory)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  AnnotatedType createAnnotatedType(Class type)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  InjectionTarget createInjectionTarget(AnnotatedType type)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  InjectionTargetFactory getInjectionTargetFactory(AnnotatedType annotatedType)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  ProducerFactory getProducerFactory(AnnotatedField field, Bean declaringBean)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  ProducerFactory getProducerFactory(AnnotatedMethod method, Bean declaringBean)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  BeanAttributes createBeanAttributes(AnnotatedType type)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public BeanAttributes createBeanAttributes(AnnotatedMember type)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  Bean createBean(BeanAttributes attributes, Class beanClass, InjectionTargetFactory injectionTargetFactory)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  Bean createBean(BeanAttributes attributes, Class beanClass, ProducerFactory producerFactory)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public InjectionPoint createInjectionPoint(AnnotatedField field)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public InjectionPoint createInjectionPoint(AnnotatedParameter parameter)
    {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public  T getExtension(Class extensionClass)
    {
        // TODO Auto-generated method stub
        return null;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy