Examples of registerApplication()


Examples of ca.uhn.hl7v2.app.SimpleServer.registerApplication()

    protected void startEndpoint(HL7Endpoint endpoint) throws AxisFault {
        LowerLayerProtocol llp = LowerLayerProtocol.makeLLP();
        PipeParser parser = new PipeParser();
        SimpleServer server = new SimpleServer(endpoint.getPort(), llp, parser);
        Application callback = new HL7MessageProcessor(endpoint);
        server.registerApplication("*", "*", callback);
        server.start();
        serverTable.put(endpoint, server);

        log.info("Started HL7 endpoint on port: " + endpoint.getPort());
    }
View Full Code Here

Examples of ca.uhn.hl7v2.app.SimpleServer.registerApplication()

        /*
         * The server may have any number of "application" objects registered to handle messages. We
         * are going to create an application to listen to ADT^A01 messages.
         */
        Application handler = new ExampleReceiverApplication();
        server.registerApplication("ADT", "A01", handler);

        /*
         * We are going to register the same application to handle ADT^A02 messages. Of course, we
         * coud just as easily have specified a different handler.
         */
 
View Full Code Here

Examples of ca.uhn.hl7v2.app.SimpleServer.registerApplication()

        /*
         * We are going to register the same application to handle ADT^A02 messages. Of course, we
         * coud just as easily have specified a different handler.
         */
        server.registerApplication("ADT", "A02", handler);

        /*
         * Another option would be to specify a single application to handle all messages, like
         * this:
         *
 
View Full Code Here

Examples of ca.uhn.hl7v2.app.SimpleServer.registerApplication()

        /*
         * The server may have any number of "application" objects registered to handle messages. We
         * are going to create an application to listen to ADT^A01 messages.
         */
        Application handler = new ExampleReceiverApplication();
        server.registerApplication("ADT", "A01", handler);

        /*
         * We are going to register the same application to handle ADT^A02 messages. Of course, we
         * coud just as easily have specified a different handler.
         */
 
View Full Code Here

Examples of ca.uhn.hl7v2.app.SimpleServer.registerApplication()

        /*
         * We are going to register the same application to handle ADT^A02 messages. Of course, we
         * coud just as easily have specified a different handler.
         */
        server.registerApplication("ADT", "A02", handler);

        /*
         * Another option would be to specify a single application to handle all messages, like
         * this:
         *
 
View Full Code Here

Examples of com.volantis.mcs.application.ApplicationRegistry.registerApplication()

            ApplicationRegistryContainer arc =
                    new ApplicationRegistryContainer(
                            new DefaultInternalApplicationContextFactory(),
                            new DefaultServletApplicationContextFactory());

            ar.registerApplication(
                    ApplicationRegistry.DEFAULT_APPLICATION_NAME, arc);
            if(logger.isDebugEnabled()){
                logger.debug("Registered default application");
            }
View Full Code Here

Examples of com.volantis.mcs.application.ApplicationRegistry.registerApplication()

        ApplicationRegistryContainer arc =
                new ApplicationRegistryContainer(
                        new DefaultInternalApplicationContextFactory(),
                        new DefaultServletApplicationContextFactory());

        ar.registerApplication(
                ApplicationRegistry.DEFAULT_APPLICATION_NAME, arc);

        servletContext = new ServletContextStub();
        volantis = new TestableVolantis() {
            // Javadoc inherited.
View Full Code Here

Examples of edu.indiana.extreme.xbaya.xregistry.XRegistryAccesser.registerApplication()

      /* Register to XRegistry */
      XRegistryAccesser xRegAccesser = new XRegistryAccesser(this.engine);

      if (!this.isEditing) {
        xRegAccesser.registerApplication(appBean);
      } else {
        /* Delete old application bean */
        QName qName = new QName(this.editingAppBean.getObjectNamespace(), this.editingAppBean.getApplicationName());
        xRegAccesser.deleteAppDescription(qName, this.editingAppBean.getHostName());

View Full Code Here

Examples of edu.indiana.extreme.xbaya.xregistry.XRegistryAccesser.registerApplication()

        /* Delete old application bean */
        QName qName = new QName(this.editingAppBean.getObjectNamespace(), this.editingAppBean.getApplicationName());
        xRegAccesser.deleteAppDescription(qName, this.editingAppBean.getHostName());

        /* Register new application bean */
        xRegAccesser.registerApplication(appBean);

        this.isEditing = false;
        this.addApplicationButton.setText("Add Application");
      }

View Full Code Here

Examples of edu.indiana.extreme.xbaya.xregistry.XRegistryAccesser.registerApplication()

      reader.close();

      if (this.docTypeComboBox.getText().equals("Host")) {
        xregistryAccesser.registerHost(fileData.toString());
      } else if (this.docTypeComboBox.getText().equals("Application")) {
        xregistryAccesser.registerApplication(fileData.toString());
      } else {
        xregistryAccesser.registerService(fileData.toString());
      }

      JOptionPane.showMessageDialog(RegisterThroughFileWindow.this.dialog
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.