Package edu.indiana.extreme.xbaya.monitor

Examples of edu.indiana.extreme.xbaya.monitor.MonitorException


                this.subscriptionID = this.wseClient.subscribe(this.brokerURL
                        .toString(), consumerUrl.getHost() + ":"
                        + consumerUrl.getPort(), this.topic);
            }
        } catch (IOException e) {
            throw new MonitorException("Failed to subscribe.", e);
        } catch (RuntimeException e) {
            throw new MonitorException("Failed to subscribe.", e);
        }
    }
View Full Code Here


                this.xmlConsumer.shutdown();
            }
            this.wseClient.unSubscribe(this.brokerURL.toString(),
                    this.subscriptionID);
        } catch (RuntimeException e) {
            throw new MonitorException("Failed to unsubscribe.", e);
        }

    }
View Full Code Here

            WsdlPortType firstPortType;
            WsdlPortTypeOperation wsdlPortTypeOperation;
      try {
        wsdlPortTypeOperation = WSDLUtil.getFirstOperation(this.modifiedWorkflow.getWorkflowWSDL());
      } catch (ComponentException e) {
        throw new MonitorException(e);
      }
            XmlElement part = soapBody
                    .element(wsdlPortTypeOperation.getName());
            XmlElement parameter = part.element(nodeID);
            // TODO support complex type.
            String value = parameter.requiredText();
            return value;
        }
        // TODO
        String message = "Couldn't find a notification of about the input with nodeID, "
                + nodeID;
        throw new MonitorException(message);
    }
View Full Code Here

            return value;
        }
        // TODO
        String message = "Couldn't find a notification of the output from the service with nodeID, "
                + nodeID;
        throw new MonitorException(message);
    }
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.monitor.MonitorException

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.