Package org.apache.ode.bpel.compiler.bom

Examples of org.apache.ode.bpel.compiler.bom.ThrowActivity


    public OActivity newInstance(Activity src) {
        return new OThrow(_context.getOProcess(), _context.getCurrent());
    }

    public void compile(OActivity output, Activity src) {
        ThrowActivity throwDef = (ThrowActivity)src;
        OThrow othrow = (OThrow) output;
        othrow.faultName = throwDef.getFaultName();
        if(throwDef.getFaultVariable() != null) {
            othrow.faultVariable = _context.resolveVariable(throwDef.getFaultVariable());
            othrow.variableRd.add(othrow.faultVariable);
        }
    }
View Full Code Here


    public OActivity newInstance(Activity src) {
        return new OThrow(_context.getOProcess(), _context.getCurrent());
    }

    public void compile(OActivity output, Activity src) {
        ThrowActivity throwDef = (ThrowActivity)src;
        OThrow othrow = (OThrow) output;
        othrow.faultName = throwDef.getFaultName();
        if(throwDef.getFaultVariable() != null)
            othrow.faultVariable = _context.resolveVariable(throwDef.getFaultVariable());
    }
View Full Code Here

    public OActivity newInstance(Activity src) {
        return new OThrow(_context.getOProcess(), _context.getCurrent());
    }

    public void compile(OActivity output, Activity src) {
        ThrowActivity throwDef = (ThrowActivity)src;
        OThrow othrow = (OThrow) output;

        if (throwDef.getFaultName() == null)
            throw new CompilationException(__cmsgs.errThrowMustDefineFaultName());

        othrow.faultName = throwDef.getFaultName();
        if(throwDef.getFaultVariable() != null)
            othrow.faultVariable = _context.resolveVariable(throwDef.getFaultVariable());
    }
View Full Code Here

    public OActivity newInstance(Activity src) {
        return new OThrow(_context.getOProcess(), _context.getCurrent());
    }

    public void compile(OActivity output, Activity src) {
        ThrowActivity throwDef = (ThrowActivity)src;
        OThrow othrow = (OThrow) output;
        othrow.faultName = throwDef.getFaultName();
        if(throwDef.getFaultVariable() != null)
            othrow.faultVariable = _context.resolveVariable(throwDef.getFaultVariable());
    }
View Full Code Here

TOP

Related Classes of org.apache.ode.bpel.compiler.bom.ThrowActivity

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.