Package org.apache.beehive.netui.compiler

Examples of org.apache.beehive.netui.compiler.MergedControllerAnnotation



    public GenValidationModel( ClassDeclaration jclass, GenStrutsApp strutsApp, AnnotationProcessorEnvironment env )
            throws FatalCompileTimeException
    {
        MergedControllerAnnotation mca = strutsApp.getFlowControllerInfo().getMergedControllerAnnotation();
        _strutsApp = strutsApp;
        setValidatorVersion( mca.getValidatorVersion() );
        addRulesFromBeans( jclass );
        addRulesFromActions( jclass, mca );
        addRulesFromClass( mca );
        String mergeFileName = mca.getValidatorMerge();
        _mergeFile = strutsApp.getMergeFile( mergeFileName );
        _env = env;
    }
View Full Code Here


       
        if ( checkOnly ) return;
       
        if ( _jclass != null )
        {
            MergedControllerAnnotation mca = fcInfo.getMergedControllerAnnotation();
            setNestedPageFlow( mca.isNested() );
            setLongLivedPageFlow( mca.isLongLived() );
            addMessageResources( mca.getMessageResources() );   // messageResources is deprecated
            addMessageBundles( mca.getMessageBundles() );   // messageBundles is not
            addSimpleActions( mca.getSimpleActions() );
            setMultipartHandler( mca.getMultipartHandler() );
            GenForwardModel.addForwards( mca.getForwards(), this, _jclass, this, null );
           
            // TODO: comment
            addForward( new ForwardModel( "_auto", "", this ) );
           
            GenExceptionModel.addCatches( mca.getCatches(), this, _jclass, this, this );
            addTilesDefinitionsConfigs( mca.getTilesDefinitionsConfigs() );
            setAdditionalValidatorConfigs( mca.getCustomValidatorConfigs() );

            addActionMethods();
            addFormBeans( _jclass );
        }
       
View Full Code Here

        } while ( classDecl != null );
       
        //
        // Next, look through the simple actions (annotations).
        //
        MergedControllerAnnotation mca = fcInfo.getMergedControllerAnnotation();
        Collection simpleActionAnnotations =
                checkInheritedActions
                ? mca.getSimpleActions()
                : CompilerUtils.getAnnotationArrayValue( type, CONTROLLER_TAG_NAME, SIMPLE_ACTIONS_ATTR, true );
       
        if ( simpleActionAnnotations != null )
        {
            for ( Iterator ii = simpleActionAnnotations.iterator(); ii.hasNext();
View Full Code Here


    public GenValidationModel( ClassDeclaration jclass, GenStrutsApp strutsApp, AnnotationProcessorEnvironment env )
            throws FatalCompileTimeException
    {
        MergedControllerAnnotation mca = strutsApp.getFlowControllerInfo().getMergedControllerAnnotation();
        _strutsApp = strutsApp;
        setValidatorVersion( mca.getValidatorVersion() );
        addRulesFromBeans( jclass );
        addRulesFromActions( jclass, mca );
        addRulesFromClass( mca );
        String mergeFileName = mca.getValidatorMerge();
        _mergeFile = strutsApp.getMergeFile( mergeFileName );
        _env = env;
    }
View Full Code Here

       
        if ( checkOnly ) return;
       
        if ( _jclass != null )
        {
            MergedControllerAnnotation mca = fcInfo.getMergedControllerAnnotation();
            setNestedPageFlow( mca.isNested() );
            setLongLivedPageFlow( mca.isLongLived() );
            addMessageResources( mca.getMessageResources() );   // messageResources is deprecated
            addMessageBundles( mca.getMessageBundles() );   // messageBundles is not
            addSimpleActions( mca.getSimpleActions() );
            setMultipartHandler( mca.getMultipartHandler() );
            GenForwardModel.addForwards( mca.getForwards(), this, _jclass, this, null );
           
            // TODO: comment
            addForward( new ForwardModel( "_auto", "", this ) );
           
            GenExceptionModel.addCatches( mca.getCatches(), this, _jclass, this, this );
            addTilesDefinitionsConfigs( mca.getTilesDefinitionsConfigs() );
            setAdditionalValidatorConfigs( mca.getCustomValidatorConfigs() );

            addActionMethods();
            addFormBeans( _jclass );
        }
       
View Full Code Here

       
        if ( checkOnly ) return;
       
        if ( _jclass != null )
        {
            MergedControllerAnnotation mca = fcInfo.getMergedControllerAnnotation();
            setNestedPageFlow( mca.isNested() );
            setLongLivedPageFlow( mca.isLongLived() );
            addMessageResources( mca.getMessageResources() );   // messageResources is deprecated
            addMessageBundles( mca.getMessageBundles() );   // messageBundles is not
            addSimpleActions( mca.getSimpleActions() );
            setMultipartHandler( mca.getMultipartHandler() );
            GenForwardModel.addForwards( mca.getForwards(), this, _jclass, this, null );
           
            // TODO: comment
            addForward( new ForwardModel( "_auto", "", this ) );
           
            GenExceptionModel.addCatches( mca.getCatches(), this, _jclass, this, this );
            addTilesDefinitionsConfigs( mca.getTilesDefinitionsConfigs() );
            setAdditionalValidatorConfigs( mca.getCustomValidatorConfigs() );
            addActionMethods();
            addFormBeans( _jclass );
            setAbstract(_jclass.hasModifier(Modifier.ABSTRACT));
        }
       
View Full Code Here


    public GenValidationModel( ClassDeclaration jclass, GenStrutsApp strutsApp, CoreAnnotationProcessorEnv env )
            throws FatalCompileTimeException
    {
        MergedControllerAnnotation mca = strutsApp.getFlowControllerInfo().getMergedControllerAnnotation();
        _strutsApp = strutsApp;
        setValidatorVersion( mca.getValidatorVersion() );
        addRulesFromBeans( jclass );
        addRulesFromActions( jclass, mca );
        addRulesFromClass( mca );
        String mergeFileName = mca.getValidatorMerge();
        _mergeFile = strutsApp.getMergeFile( mergeFileName );
        _env = env;
    }
View Full Code Here

       
        if ( checkOnly ) return;
       
        if ( _jclass != null )
        {
            MergedControllerAnnotation mca = fcInfo.getMergedControllerAnnotation();
            setNestedPageFlow( mca.isNested() );
            setLongLivedPageFlow( mca.isLongLived() );
            addMessageResources( mca.getMessageResources() );   // messageResources is deprecated
            addMessageBundles( mca.getMessageBundles() );   // messageBundles is not
            addSimpleActions( mca.getSimpleActions() );
            setMultipartHandler( mca.getMultipartHandler() );
            GenForwardModel.addForwards( mca.getForwards(), this, _jclass, this, null );
           
            // TODO: comment
            addForward( new ForwardModel( "_auto", "", this ) );
           
            GenExceptionModel.addCatches( mca.getCatches(), this, _jclass, this, this );
            addTilesDefinitionsConfigs( mca.getTilesDefinitionsConfigs() );
            setAdditionalValidatorConfigs( mca.getCustomValidatorConfigs() );
            addActionMethods();
            addFormBeans( _jclass );
            setAbstract(_jclass.hasModifier(Modifier.ABSTRACT));
        }
       
View Full Code Here


    public GenValidationModel( ClassDeclaration jclass, GenStrutsApp strutsApp, CoreAnnotationProcessorEnv env )
            throws FatalCompileTimeException
    {
        MergedControllerAnnotation mca = strutsApp.getFlowControllerInfo().getMergedControllerAnnotation();
        _strutsApp = strutsApp;
        setValidatorVersion( mca.getValidatorVersion() );
        addRulesFromBeans( jclass );
        addRulesFromActions( jclass, mca );
        addRulesFromClass( mca );
        String mergeFileName = mca.getValidatorMerge();
        _mergeFile = strutsApp.getMergeFile( mergeFileName );
        _env = env;
    }
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.compiler.MergedControllerAnnotation

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.