Package org.codehaus.xfire.handler

Examples of org.codehaus.xfire.handler.Phase


    {
        List inPhases = getXFire().getInPhases();
        assertNotNull(inPhases);
       
        Collections.sort(inPhases);
        assertTrue(new Phase(Phase.TRANSPORT, 1000).equals(inPhases.get(0)));
       
        List outPhases = getXFire().getOutPhases();
        assertNotNull(outPhases);
    }
View Full Code Here


     * Creates a default list of phases for this XFire instance.
     */
    protected void createPhases()
    {
        inPhases = new ArrayList();
        inPhases.add(new Phase(Phase.TRANSPORT, 1000));
        inPhases.add(new Phase(Phase.PARSE, 2000));
        inPhases.add(new Phase(Phase.PRE_DISPATCH, 3000));
        inPhases.add(new Phase(Phase.DISPATCH, 4000));
        inPhases.add(new Phase(Phase.POLICY, 5000));
        inPhases.add(new Phase(Phase.USER, 6000));
        inPhases.add(new Phase(Phase.PRE_INVOKE, 7000));
        inPhases.add(new Phase(Phase.SERVICE, 8000));
        Collections.sort(inPhases);
       
        outPhases = new ArrayList();
        outPhases.add(new Phase(Phase.POST_INVOKE, 1000));
        outPhases.add(new Phase(Phase.POLICY, 2000));
        outPhases.add(new Phase(Phase.USER, 3000));
        outPhases.add(new Phase(Phase.TRANSPORT, 4000));
        outPhases.add(new Phase(Phase.SEND, 5000));
        Collections.sort(outPhases);
    }
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.handler.Phase

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.