Package org.apache.myfaces.orchestra.annotation

Examples of org.apache.myfaces.orchestra.annotation.AnnotationInfo


        this.annotationInfoManager = annotationInfoManager;
    }

    public String mapViewId(String viewId)
    {
        AnnotationInfo annotationsInfo = annotationInfoManager.getAnnotationInfoByViewId(viewId);
        if (annotationsInfo != null)
        {
            return annotationsInfo.getBeanName();
        }

        return null;
    }
View Full Code Here


        }
    }

    public boolean invokeInitView(String beanName, Object bean)
    {
        AnnotationInfo annotationsInfo = annotationInfoManager.getAnnotationInfoByBeanName(beanName);
        if (annotationsInfo != null)
        {
            Method method = annotationsInfo.getInitViewMethod();
            if (method != null)
            {
                invokeMethod(bean, method);
                return true;
            }
View Full Code Here

        return false;
    }

    public boolean invokePreRenderView(String beanName, Object bean)
    {
        AnnotationInfo annotationsInfo = annotationInfoManager.getAnnotationInfoByBeanName(beanName);
        if (annotationsInfo != null)
        {
            Method method = annotationsInfo.getPreRenderViewMethod();
            if (method != null)
            {
                invokeMethod(bean, method);
                return true;
            }
View Full Code Here

        return false;
    }

    public boolean invokePreProcess(String beanName, Object bean)
    {
        AnnotationInfo annotationsInfo = annotationInfoManager.getAnnotationInfoByBeanName(beanName);
        if (annotationsInfo != null)
        {
            Method method = annotationsInfo.getPreProcessMethod();
            if (method != null)
            {
                invokeMethod(bean, method);
                return true;
            }
View Full Code Here

        if (beanName == null)
        {
            return;
        }

        AnnotationInfo annotationInfo = annotationInfoManager.getAnnotationInfoByBeanName(beanName);
        if (annotationInfo == null)
        {
            return;
        }

        ConversationRequire conversationRequire = annotationInfo.getConversationRequire();
        if (conversationRequire == null)
        {
            return;
        }
View Full Code Here

                    // check whether the bean is an orchestra-annotated bean,
                    // and if so cache its annotation info for later use.
                    annotationInfoManager.processBeanAnnotations(realBeanName, beanClass);

                    // Now deal with any annotation data that must be processed at startup.
                    AnnotationInfo info = annotationInfoManager
                            .getAnnotationInfoByBeanName(realBeanName);
                    if (info != null)
                    {
                        processStartupAnnotations(beanDefinition, info);
                    }
View Full Code Here

                    // check whether the bean is an orchestra-annotated bean,
                    // and if so cache its annotation info for later use.
                    annotationInfoManager.processBeanAnnotations(realBeanName, beanClass);

                    // Now deal with any annotation data that must be processed at startup.
                    AnnotationInfo info = annotationInfoManager
                            .getAnnotationInfoByBeanName(realBeanName);
                    if (info != null)
                    {
                        processStartupAnnotations(beanDefinition, info);
                    }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.orchestra.annotation.AnnotationInfo

Copyright © 2018 www.massapicom. 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.