Examples of PortInfo


Examples of org.apache.openejb.assembler.classic.PortInfo

                }

                for (EnterpriseBeanInfo enterpriseBean : ejbJar.enterpriseBeans) {
                    if (enterpriseBean instanceof StatelessBeanInfo || enterpriseBean instanceof SingletonBeanInfo) {

                        PortInfo portInfo = ports.get(enterpriseBean.ejbName);
                        if (portInfo == null) continue;

                        // remove wsdl addresses from global registry
                        String address = ejbAddresses.remove(enterpriseBean.ejbDeploymentId);
                        if (address != null) {
                            portAddressRegistry.removePort(portInfo.serviceId, portInfo.wsdlService, portInfo.portId);
                        }

                        // remove container from web server
                        String location = ejbLocations.get(enterpriseBean.ejbDeploymentId);
                        if (this.wsRegistry != null && location != null) {
                            this.wsRegistry.removeWsContainer(location);
                        }

                        // destroy webservice container
                        destroyEjbWsContainer(enterpriseBean.ejbDeploymentId);
                    }
                }
            }
            for (WebAppInfo webApp : appInfo.webApps) {
                deployedWebApps.remove(webApp);

                Map<String,PortInfo> ports = new TreeMap<String,PortInfo>();
                for (PortInfo port : webApp.portInfos) {
                    ports.put(port.serviceLink, port);
                }

                for (ServletInfo servlet : webApp.servlets) {
                    PortInfo portInfo = ports.get(servlet.servletClass);
                    if (portInfo == null) continue;

                    // remove wsdl addresses from global registry
                    String address = servletAddresses.remove(webApp.moduleId + "." + servlet.servletName);
                    if (address != null) {
View Full Code Here

Examples of org.codehaus.xfire.jaxws.PortInfo

        throws Exception
    {
        Transport t = context.getInMessage().getChannel().getTransport();
        AbstractBinding binding = JAXWSHelper.getInstance().getBinding(t);
       
        PortInfo portInfo = new PortInfo(context.getBinding().getBindingId(), null, service.getServiceName());
      
        List<Handler> handlers = service.getHandlerResolver().getHandlerChain(portInfo);
       
        SOAPMessageContext soapContext = new SOAPMessageContext(context);
       
View Full Code Here

Examples of org.objectweb.celtix.geronimo.builder.PortInfo

   
    public void setUp() throws Exception {
        mockBusFactory = new MockBusFactory();
        mockBus = mockBusFactory.createMockBus();

        portInfo = new PortInfo();
        portInfo.setWsdlFile("file:/tmp/foo.wsdl");
        portInfo.setServiceName(new QName("", "TestService").toString());

    }
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.