Examples of PipelineRecording


Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

            //
            // Propagate the dependencies upwards.
            dependencyContext.propagateDependencies();

            // Play the content back.
            PipelineRecording recording = recorder.stopRecording();
            PipelinePlayer player = recording.createPlayer();
            player.play(getNextProcess());

            // Remove the recovery point and keep the changes that have been
            // made to the pipeline context.
            context.removeRecoveryPoint(recoveryPoint, true);
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

        XMLPipelineFactory factory = context.getPipelineFactory();
        PipelineRecorder recorder = factory.createPipelineRecorder();
        recorder.startRecording(getPipeline());
        char[] chars = value.toCharArray();
        recorder.getRecordingHandler().characters(chars, 0, chars.length);
        PipelineRecording recording = recorder.stopRecording();

        TValue tValue = new DirectValue(
                recording, Complexity.SIMPLE, EvaluationMode.IMMEDIATE,
                dependencyContext.extractDependency());
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

    // Javadoc inherited.
    public void endValueDefinition(
            Element element, Complexity complexity)
            throws SAXException {

        PipelineRecording recording = recorder.stopRecording();

        TValue value = new DirectValue(recording, complexity, mode,
                dependencyContext.extractDependency());

        valueSetter.setTemplateValue(value);
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

     * return PLAYBACK_AND_SUPPRESS, update the recording field and store the
     * dependency in the dependency context.
     */
    public void testInitializeProcessStateCacheReady() throws Exception {
        // initialize the cache
        final PipelineRecording recording = new PipelineRecording() {
            public PipelinePlayer createPlayer() {
                return null;
            }

            public boolean isComplex() {
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

     * no dependency  is added to the dependency context and the recording
     * remains null.
     */
    public void testInitializeProcessStateUncacheable() throws Exception {
        // initialize the cache
        final PipelineRecording recording = new PipelineRecording() {
            public PipelinePlayer createPlayer() {
                return null;
            }

            public boolean isComplex() {
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

     * fixed-age then RECORD_AND_FORWARD is returned, no dependency is saved in
     * the dependency context and no recording is created (yet).
     */
    public void testInitializeProcessStateExpiredFixedAge() throws Exception {
        // initialize the cache
        final PipelineRecording recording = new PipelineRecording() {
            public PipelinePlayer createPlayer() {
                return null;
            }

            public boolean isComplex() {
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

     * the dependency context and no recording is created (yet).
     */
    public void testInitializeProcessStateExpiredAuto() throws Exception {
        process.setFixedExpiryMode(false);
        // initialize the cache
        final PipelineRecording recording = new PipelineRecording() {
            public PipelinePlayer createPlayer() {
                return null;
            }

            public boolean isComplex() {
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

     * recording field and store the dependency in the dependency context.
     */
    public void testInitializeProcessStateExpiredButFresh() throws Exception {
        process.setFixedExpiryMode(false);
        // initialize the cache
        final PipelineRecording recording = new PipelineRecording() {
            public PipelinePlayer createPlayer() {
                return null;
            }

            public boolean isComplex() {
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

     */
    public void testInitializeProcessStateExpiredButRevalidateable()
            throws Exception {
        process.setFixedExpiryMode(false);
        // initialize the cache
        final PipelineRecording recording = new PipelineRecording() {
            public PipelinePlayer createPlayer() {
                return null;
            }

            public boolean isComplex() {
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.recorder.PipelineRecording

                        // Remove the process from the head.
                        dynamicProcess.removeProcess(process);

                        // Create an iterator to perform the actual iteration once the
                        // body has been recorded.
                        PipelineRecording recording = recorder.stopRecording();
                        final ForEachIterator iterator = new ForEachIterator(
                                recording, variableExpandedName, sequence);

                        // Perform the iteration.
                        iterator.iterate(dynamicProcess);
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.