Examples of ProcessInfoDocument


Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

        return ret;
    }

    public ProcessInfoDocument setProcessProperty(final QName pid, final QName propertyName, final String value)
            throws ManagementException {
        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        final TProcessInfo pi = ret.addNewProcessInfo();
        try {
            _db.exec(new BpelDatabase.Callable<Object>() {
                public Object run(BpelDAOConnection conn) throws Exception {
                    try {
                        _store.setProperty(pid, propertyName, value);
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

    private ProcessInfoDocument genProcessInfoDocument(BpelDAOConnection conn, QName procid, ProcessInfoCustomizer custom)
            throws ManagementException {
        if (procid == null) {
            throw new InvalidRequestException("Valid QName as process id expected.");
        }
        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        TProcessInfo pi = ret.addNewProcessInfo();
        try {
            ProcessConf pconf = _store.getProcessConfiguration(procid);
            if (pconf == null)
                throw new ProcessNotFoundException("ProcessNotFound:" + procid);
            fillProcessInfo(pi, pconf, custom);
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

            if (count <= 0) throw new AssertionError("No failures info, which are required");
            Thread.sleep(sleep);
            sleep = 1000;
            TFailuresInfo failures = instance.getFailures();
            if (!(failures != null && failures.getCount() == 1)) continue;
            ProcessInfoDocument m = _management.getProcessInfo(_processId);
            if (!m.getProcessInfo().isSetInstanceSummary()) continue;
            failures = m.getProcessInfo().getInstanceSummary().getFailures();
            if (!(failures != null && failures.getCount() == 1)) continue;
            break;
        }
        // Look for individual activities inside the process instance.
        ArrayList<TActivityInfo> recoveries = getRecoveriesInScope(instance, null, null);
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

        }
    }

    public ProcessInfoDocument setProcessPropertyNode(final QName pid, final QName propertyName, final Node value)
            throws ManagementException {
        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        final TProcessInfo pi = ret.addNewProcessInfo();
        try {
            try {
                _store.setProperty(pid, propertyName, value);
            } catch (Exception ex) {
                // Likely the process no longer exists in the store.
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

        return ret;
    }

    public ProcessInfoDocument setProcessProperty(final QName pid, final QName propertyName, final String value)
            throws ManagementException {
        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        final TProcessInfo pi = ret.addNewProcessInfo();
        try {
            try {
                _store.setProperty(pid, propertyName, value);
            } catch (Exception ex) {
                // Likely the process no longer exists in the store.
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

        }
    }

    private ProcessInfoDocument genProcessInfoDocument(final QName procid, final ProcessInfoCustomizer custom)
            throws ManagementException {
        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        final TProcessInfo pi = ret.addNewProcessInfo();
        try {
            ProcessConf pconf = _store.getProcessConfiguration(procid);
            if (pconf == null)
                throw new ProcessNotFoundException("ProcessNotFound:" + procid);
            fillProcessInfo(pi, pconf, custom);
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

        }
    }

    public ProcessInfoDocument setProcessPropertyNode(final QName pid, final QName propertyName, final Node value)
            throws ManagementException {
        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        final TProcessInfo pi = ret.addNewProcessInfo();
        try {
            try {
                _store.setProperty(pid, propertyName, value);
            } catch (Exception ex) {
                // Likely the process no longer exists in the store.
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

        return ret;
    }

    public ProcessInfoDocument setProcessProperty(final QName pid, final QName propertyName, final String value)
            throws ManagementException {
        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        final TProcessInfo pi = ret.addNewProcessInfo();
        try {
            try {
                _store.setProperty(pid, propertyName, value);
            } catch (Exception ex) {
                // Likely the process no longer exists in the store.
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

    private ProcessInfoDocument genProcessInfoDocument(final QName procid, final ProcessInfoCustomizer custom)
            throws ManagementException {
        if (procid == null) {
            throw new InvalidRequestException("Valid QName as process id expected.");
        }
        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        final TProcessInfo pi = ret.addNewProcessInfo();
        try {
            ProcessConf pconf = _store.getProcessConfiguration(procid);
            if (pconf == null)
                throw new ProcessNotFoundException("ProcessNotFound:" + procid);
            fillProcessInfo(pi, pconf, custom);
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessInfoDocument

        }
    }

    public ProcessInfoDocument setProcessPropertyNode(final QName pid, final QName propertyName, final Node value)
            throws ManagementException {
        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        final TProcessInfo pi = ret.addNewProcessInfo();
        try {
            _db.exec(new BpelDatabase.Callable<Object>() {
                public Object run(BpelDAOConnection conn) throws Exception {
                    try {
                        _store.setProperty(pid, propertyName, value);
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.