Package org.apache.maven.werkz

Examples of org.apache.maven.werkz.Session


        // TODO: shouldn't this be a stack too? Then session attribute not needed
        transientMapper = new GoalToJellyScriptHousingMapper();

        // Create the Jelly session
        Session session = new JellySession( baseContext.getXMLOutput() );
        session.setAttribute( BASE_CONTEXT, baseContext );
        session.setAttribute( PLUGIN_MANAGER, this );
        session.setAttribute( GOAL_MAPPER, transientMapper );

        // add the global session to the pluginContext so that it can be used by tags
        baseContext.setVariable( GLOBAL_SESSION_KEY, session );

        // Execution of the Jelly scripts:
View Full Code Here


    public void doTag( final XMLOutput output )
        throws JellyTagException
    {
        AttainTag attainTag = (AttainTag) findAncestorWithClass( AttainTag.class );

        Session session = null;

        if ( this.session != null )
        {
            session = this.session;
        }
View Full Code Here

TOP

Related Classes of org.apache.maven.werkz.Session

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.