Package org.jboss.as.web

Examples of org.jboss.as.web.VirtualHost


* @author <a href="mailto:alessio.soldano@jboss.com">Alessio Soldano</a>
*/
public class EndpointPublisherFactoryImpl implements EndpointPublisherFactory {

    public EndpointPublisher newEndpointPublisher(String hostname) throws Exception {
        VirtualHost virtualHost = ASHelper.getMSCService(WebSubsystemServices.JBOSS_WEB_HOST.append(hostname),
                VirtualHost.class);
        return new EndpointPublisherImpl(virtualHost.getHost());
    }
View Full Code Here


        context.getLoader().setContainer(host.getHost());
        host.getHost().addChild(context);
    }

    public void uninject() {
        final VirtualHost host = this.host;
        if (host != null) {
            final Context context = this.context.getValue();
            host.getHost().removeChild(context);
            this.host = null;
        }
    }
View Full Code Here

        context.getLoader().setContainer(host.getHost());
        host.getHost().addChild(context);
    }

    public void uninject() {
        final VirtualHost host = this.host;
        if (host != null) {
            final Context context = this.context.getValue();
            host.getHost().removeChild(context);
            this.host = null;
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.web.VirtualHost

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.