Package org.apache.ode.bpel.evar.ExternalVariableModule

Examples of org.apache.ode.bpel.evar.ExternalVariableModule.Value


            // Should not happen if constructor is working.
            throw new BpelEngineException("InternalError: reference to unknown external variable " + variable.extVar.externalVariableId);
        }

        Locator locator = new Locator(variable.extVar.externalVariableId, _pid,iid, reference);
        Value newval;
        newval = evar._engine.readValue(((OElementVarType) variable.type).elementType, locator );
        if (newval == null)
            return null;
        return newval;
    }
View Full Code Here


            // Should not happen if constructor is working.
            throw new BpelEngineException("InternalError: reference to unknown external variable " + variable.extVar.externalVariableId);
        }

        Locator locator = new Locator(variable.extVar.externalVariableId,_pid,iid,reference);
        Value newval = new Value(locator,val,null);
        newval = evar._engine.writeValue(((OElementVarType) variable.type).elementType, newval);

        return newval;
    }
View Full Code Here

        }
    }

    public Node readExtVar(Variable variable, Node reference) throws ExternalVariableModuleException {
        Value val = _bpelProcess.getEVM().read(variable, reference, _iid);
        return val.value;
    }
View Full Code Here

    }

    public ValueReferencePair writeExtVar(Variable variable, Node reference, Node value) throws ExternalVariableModuleException {
        ValueReferencePair vrp = new ValueReferencePair();
       
        Value val = _bpelProcess.getEVM().write(variable, reference, value, _iid);
        vrp.reference = val.locator.reference;
        vrp.value = val.value;
       
        return vrp;
    }
View Full Code Here

        }
    }

    public Node readExtVar(Variable variable, Node reference) throws ExternalVariableModuleException {
        Value val = _bpelProcess.getEVM().read(variable, reference, _iid);
        return val.value;
    }
View Full Code Here

    }

    public ValueReferencePair writeExtVar(Variable variable, Node reference, Node value) throws ExternalVariableModuleException {
        ValueReferencePair vrp = new ValueReferencePair();
       
        Value val = _bpelProcess.getEVM().write(variable, reference, value, _iid);
        vrp.reference = val.locator.reference;
        vrp.value = val.value;
       
        return vrp;
    }
View Full Code Here

        }
    }

  public Node readExtVar(Variable variable, Node reference) throws ExternalVariableModuleException {
    Value val = _bpelProcess.getEVM().read(variable, reference, _iid);
    return val.value;
  }
View Full Code Here

  }

  public ValueReferencePair writeExtVar(Variable variable, Node reference, Node value) throws ExternalVariableModuleException {
    ValueReferencePair vrp = new ValueReferencePair();
   
    Value val = _bpelProcess.getEVM().write(variable, reference, value, _iid);
    vrp.reference = val.locator.reference;
    vrp.value = val.value;
   
    return vrp;
  }
View Full Code Here

TOP

Related Classes of org.apache.ode.bpel.evar.ExternalVariableModule.Value

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.