Examples of StereoTypeManager


Examples of org.apache.webbeans.deployment.StereoTypeManager

    public void addStereoType(Class<? extends Annotation> stereoType, Element decleration, String name, String errorMessage)
    {
        WebBeansUtil.checkStereoTypeClass(stereoType);

        StereoTypeManager manager = StereoTypeManager.getInstance();

        XMLStereoTypeModel model = new XMLStereoTypeModel(decleration, name, errorMessage);
        manager.addStereoTypeModel(model);

        xmlStereoTypes.add(stereoType);
    }
View Full Code Here

Examples of org.apache.webbeans.deployment.StereoTypeManager

    public void addStereoType(Class<? extends Annotation> stereoType, Element decleration, String name, String errorMessage)
    {
        WebBeansUtil.checkStereoTypeClass(stereoType);

        StereoTypeManager manager = StereoTypeManager.getInstance();

        XMLStereoTypeModel model = new XMLStereoTypeModel(decleration, name, errorMessage);
        manager.addStereoTypeModel(model);

        xmlStereoTypes.add(stereoType);
    }
View Full Code Here

Examples of org.apache.webbeans.deployment.StereoTypeManager

    public void addStereoType(Class<? extends Annotation> stereoType, Element decleration, String name, String errorMessage)
    {
        WebBeansUtil.checkStereoTypeClass(stereoType);

        StereoTypeManager manager = StereoTypeManager.getInstance();

        XMLStereoTypeModel model = new XMLStereoTypeModel(decleration, name, errorMessage);
        manager.addStereoTypeModel(model);

        xmlStereoTypes.add(stereoType);
    }
View Full Code Here

Examples of org.apache.webbeans.deployment.StereoTypeManager

        final AnnotationManager annotationManager = webBeansContext.getAnnotationManager();
       
        Set<Class<?>> beanClasses = scanner.getBeanClasses();
        if (beanClasses != null && beanClasses.size() > 0)
        {
            final StereoTypeManager stereoTypeManager = webBeansContext.getStereoTypeManager();
            for(Class<?> beanClass : beanClasses)
            {               
                if(beanClass.isAnnotation())
                {
                    Class<? extends Annotation> stereoClass = (Class<? extends Annotation>) beanClass;
                    if (annotationManager.isStereoTypeAnnotation(stereoClass)
                        && stereoTypeManager.getStereoTypeModel(stereoClass.getName()) == null)
                    {
                        webBeansContext.getAnnotationManager().checkStereoTypeClass(stereoClass, stereoClass.getDeclaredAnnotations());
                        StereoTypeModel model = new StereoTypeModel(webBeansContext, stereoClass);
                        stereoTypeManager.addStereoTypeModel(model);
                    }
                }
            }
        }
View Full Code Here

Examples of org.apache.webbeans.deployment.StereoTypeManager

        final AnnotationManager annotationManager = webBeansContext.getAnnotationManager();
       
        Set<Class<?>> beanClasses = scanner.getBeanClasses();
        if (beanClasses != null && beanClasses.size() > 0)
        {
            final StereoTypeManager stereoTypeManager = webBeansContext.getStereoTypeManager();
            for(Class<?> beanClass : beanClasses)
            {               
                if(beanClass.isAnnotation())
                {
                    Class<? extends Annotation> stereoClass = (Class<? extends Annotation>) beanClass;
                    if (annotationManager.isStereoTypeAnnotation(stereoClass)
                        && stereoTypeManager.getStereoTypeModel(stereoClass.getName()) == null)
                    {
                        webBeansContext.getAnnotationManager().checkStereoTypeClass(stereoClass, stereoClass.getDeclaredAnnotations());
                        StereoTypeModel model = new StereoTypeModel(webBeansContext, stereoClass);
                        stereoTypeManager.addStereoTypeModel(model);
                    }
                }
            }
        }
View Full Code Here

Examples of org.apache.webbeans.deployment.StereoTypeManager

        final AnnotationManager annotationManager = webBeansContext.getAnnotationManager();
       
        Set<Class<?>> beanClasses = scanner.getBeanClasses();
        if (beanClasses != null && beanClasses.size() > 0)
        {
            final StereoTypeManager stereoTypeManager = webBeansContext.getStereoTypeManager();
            for(Class<?> beanClass : beanClasses)
            {               
                if(beanClass.isAnnotation())
                {
                    Class<? extends Annotation> stereoClass = (Class<? extends Annotation>) beanClass;
                    if (annotationManager.isStereoTypeAnnotation(stereoClass)
                        && stereoTypeManager.getStereoTypeModel(stereoClass.getName()) == null)
                    {
                        webBeansContext.getAnnotationManager().checkStereoTypeClass(stereoClass, stereoClass.getDeclaredAnnotations());
                        StereoTypeModel model = new StereoTypeModel(webBeansContext, stereoClass);
                        stereoTypeManager.addStereoTypeModel(model);
                    }
                }
            }
        }
View Full Code Here

Examples of org.apache.webbeans.deployment.StereoTypeManager

        final AnnotationManager annotationManager = webBeansContext.getAnnotationManager();
       
        Set<Class<?>> beanClasses = scanner.getBeanClasses();
        if (beanClasses != null && beanClasses.size() > 0)
        {
            final StereoTypeManager stereoTypeManager = webBeansContext.getStereoTypeManager();
            for(Class<?> beanClass : beanClasses)
            {               
                if(beanClass.isAnnotation())
                {
                    Class<? extends Annotation> stereoClass = (Class<? extends Annotation>) beanClass;
                    if (annotationManager.isStereoTypeAnnotation(stereoClass)
                        && stereoTypeManager.getStereoTypeModel(stereoClass.getName()) == null)
                    {
                        webBeansContext.getAnnotationManager().checkStereoTypeClass(stereoClass, stereoClass.getDeclaredAnnotations());
                        StereoTypeModel model = new StereoTypeModel(webBeansContext, stereoClass);
                        stereoTypeManager.addStereoTypeModel(model);
                    }
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.