Examples of addEndpoint()


Examples of org.apache.vysper.xmpp.server.XMPPServer.addEndpoint()

        accountManagement.addUser("user1@vysper.org", "password1");
        accountManagement.addUser("user2@vysper.org", "password1");

        XMPPServer server = new XMPPServer("vysper.org");
        server.addEndpoint(new TCPEndpoint());
        server.setStorageProviderRegistry(providerRegistry);

        server.setTLSCertificateInfo(new File("src/main/config/bogus_mina_tls.cert"), "boguspw");

        server.start();
View Full Code Here

Examples of org.codehaus.xfire.service.Service.addEndpoint()

            String ptName = service.getServiceInfo().getPortType().getLocalPart();
            Soap11Binding localBind = new Soap11Binding(new QName(ns, ptName + "LocalBinding"),
                                                        LocalTransport.BINDING_ID,
                                                        service);
            service.addBinding(localBind);
            service.addEndpoint(new QName(ns, ptName + "LocalEndpoint"), localBind, "xfire.local://" + local);
           
            JVar serviceVar = generateService(context, servCls, constructor, service, i);
           
            // Add each endpoint to the Client class
            Collection endpoints = service.getEndpoints();
View Full Code Here

Examples of org.eclipse.jetty.websocket.jsr356.server.ServerContainer.addEndpoint()

            // Deploy what should be deployed.
            for (ServerEndpointConfig config : deployableExtendedEndpointConfigs)
            {
                try
                {
                    jettyContainer.addEndpoint(config);
                }
                catch (DeploymentException e)
                {
                    throw new ServletException(e);
                }
View Full Code Here

Examples of org.jboss.as.webservices.metadata.model.JAXRPCDeployment.addEndpoint()

        final JAXRPCDeployment jaxrpcDeployment = getJaxrpcDeployment(unit);

        for (final WebserviceDescriptionMetaData wsDescriptionMD : webservicesMD.getWebserviceDescriptions()) {
            for (final PortComponentMetaData portComponentMD : wsDescriptionMD.getPortComponents()) {
                final POJOEndpoint pojoEndpoint = newPojoEndpoint(portComponentMD, jbossWebMD);
                jaxrpcDeployment.addEndpoint(pojoEndpoint);
            }
        }
    }

    private static POJOEndpoint newPojoEndpoint(final PortComponentMetaData portComponentMD, final JBossWebMetaData jbossWebMD) {
View Full Code Here

Examples of org.jboss.as.webservices.metadata.model.JAXRPCDeployment.addEndpoint()

        final Set<String> securityRoles = getSecurityRoles(unit);

        for (final WebserviceDescriptionMetaData wsDescriptionMD : webservicesMD.getWebserviceDescriptions()) {
            for (final PortComponentMetaData portComponentMD : wsDescriptionMD.getPortComponents()) {
                final EJBEndpoint ejbEndpoint = newEjbEndpoint(portComponentMD, moduleDescription, securityRoles);
                jaxrpcDeployment.addEndpoint(ejbEndpoint);
            }
        }
    }

    private static EJBEndpoint newEjbEndpoint(final PortComponentMetaData portComponentMD, final EEModuleDescription moduleDescription, final Set<String> securityRoles) {
View Full Code Here

Examples of org.jboss.as.webservices.metadata.model.JAXWSDeployment.addEndpoint()

            for (final SessionBeanComponentDescription sessionBean : sessionBeans) {
                if (sessionBean.isStateless() || sessionBean.isSingleton()) {
                    final EJBViewDescription ejbViewDescription = sessionBean.addWebserviceEndpointView();
                    final ServiceName ejbViewName = ejbViewDescription.getServiceName();
                    jaxwsDeployment.addEndpoint(new EJBEndpoint(sessionBean, ejbViewName, securityRoles, authMethod, isSecureWsdlAccess, transportGuarantee));
                }
            }
        }
    }
View Full Code Here

Examples of org.jboss.as.webservices.metadata.model.JAXWSDeployment.addEndpoint()

                    // creating component description for POJO endpoint
                    final String endpointName = getEndpointName(servletMD);
                    createComponentDescription(unit, endpointName, endpointClassName, endpointName);
                    // register POJO endpoint
                    final String urlPattern = getUrlPattern(endpointName, unit);
                    jaxwsDeployment.addEndpoint(new POJOEndpoint(endpointName, endpointClassName, urlPattern));
                }
            }
            if (!found) {
                // JSR 109, version 1.3 final spec, section 5.3.2.1 javax.jws.WebService annotation
                createComponentDescription(unit, endpointClassName, endpointClassName, endpointClassName);
View Full Code Here

Examples of org.jboss.as.webservices.metadata.model.JAXWSDeployment.addEndpoint()

            if (!found) {
                // JSR 109, version 1.3 final spec, section 5.3.2.1 javax.jws.WebService annotation
                createComponentDescription(unit, endpointClassName, endpointClassName, endpointClassName);
                // register POJO endpoint
                final String urlPattern = getUrlPattern(classInfo);
                jaxwsDeployment.addEndpoint(new POJOEndpoint(endpointClassName, urlPattern));
            }
        }
    }

    private static String getUrlPattern(final ClassInfo clazz) {
View Full Code Here

Examples of org.jboss.ws.metadata.umdm.ServiceMetaData.addEndpoint()

               Endpoint ep = dep.getService().getEndpointByName(linkName);
               ServerEndpointMetaData sepMetaData = new ServerEndpointMetaData(serviceMetaData, ep, portName, interfaceQName, Type.JAXRPC);
               sepMetaData.setPortComponentName(pcMetaData.getPortComponentName());
               sepMetaData.setLinkName(linkName);
               serviceMetaData.addEndpoint(sepMetaData);

               initEndpointEncodingStyle(sepMetaData);

               initEndpointAddress(dep, sepMetaData);
               initEndpointBinding(wsdlEndpoint, sepMetaData);
View Full Code Here

Examples of org.jboss.wsf.spi.deployment.Service.addEndpoint()

            String epBean = container.getComponentClassName();

            // Create the endpoint
            Endpoint ep = newEndpoint(epBean);
            ep.setShortName(ejbName);
            service.addEndpoint(ep);
         }
      }

      return dep;
   }
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.