Examples of ThrowActivity


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

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());
    }
View Full Code Here

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;

        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

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());
    }
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.