Package org.apache.openejb.server.httpd

Examples of org.apache.openejb.server.httpd.HttpListener


    }

    @Override public HttpListener removeListener(String context) {
        String regex = addresses.get(context);
        if (regex != null) {
            HttpListener listener = registry.removeHttpListener(regex);
            if (listener instanceof ClassLoaderHttpListener) {
                return ((ClassLoaderHttpListener) listener).getDelegate();
            }
        }
        return null;
View Full Code Here


        }
        return managedUrl + "/" + wildcard;
    }

    private void undeployRestObject(final String context) {
        HttpListener listener = rsRegistry.removeListener(context);
        if (listener != null) {

            if (BasicAuthHttpListenerWrapper.class.isInstance(listener)) {
                listener = BasicAuthHttpListenerWrapper.class.cast(listener).getHttpListener();
            }
View Full Code Here

        }
        return managedUrl + "/" + wildcard;
    }

    private void undeployRestObject(String context) {
        HttpListener listener = rsRegistry.removeListener(context);
        if (listener != null) {
            RsHttpListener.class.cast(listener).undeploy();
        }
    }
View Full Code Here

    }

    @Override public HttpListener removeListener(String context) {
        String regex = addresses.get(context);
        if (regex != null) {
            HttpListener listener = registry.removeHttpListener(regex);
            if (listener instanceof ClassLoaderHttpListener) {
                return ((ClassLoaderHttpListener) listener).getDelegate();
            }
        }
        return null;
View Full Code Here

                        final ClassLoader old = Thread.currentThread().getContextClassLoader();
                        Thread.currentThread().setContextClassLoader(beanContext.getClassLoader());
                        try {
                            PortData port = WsBuilder.toPortData(portInfo, beanContext.getInjections(), moduleBaseUrl, beanContext.getClassLoader());

                            HttpListener container = createEjbWsContainer(moduleBaseUrl, port, beanContext, new ServiceConfiguration(beanContext.getProperties(), appInfo.services));

                            // generate a location if one was not assigned
                            String location = port.getLocation();
                            if (location == null) {
                                location = autoAssignWsLocation(bean, port, contextData, deploymentIdTemplate);
View Full Code Here

                PortData port = WsBuilder.toPortData(portInfo, injections, moduleBaseUrl, classLoader);

                pojoConfiguration = PojoUtil.findPojoConfig(pojoConfiguration, appInfo, webApp);

                HttpListener container = createPojoWsContainer(moduleBaseUrl, port, portInfo.serviceLink,
                        target, context, webApp.contextRoot, bindings,
                        new ServiceConfiguration(PojoUtil.findConfiguration(pojoConfiguration, target.getName()), appInfo.services));

                if (wsRegistry != null) {
                    // give servlet a reference to the webservice container
View Full Code Here

TOP

Related Classes of org.apache.openejb.server.httpd.HttpListener

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.