Package org.jboss.as.server.moduleservice

Examples of org.jboss.as.server.moduleservice.ModuleLoadService


    public void start(StartContext context) throws StartException {
        System.out.println("InitService START");
        ServiceController<?> svc = context.getController().getServiceContainer()
                .getRequiredService(ServiceModuleLoader.moduleServiceName(config.getGateInEarModule()));

        ModuleLoadService modService = (ModuleLoadService) svc.getService();
        Module module = modService.getValue();

        ClassLoader oldCl = Thread.currentThread().getContextClassLoader();
        try {
            // set TCCL to this module's CL
            Thread.currentThread().setContextClassLoader(module.getClassLoader());
View Full Code Here

TOP

Related Classes of org.jboss.as.server.moduleservice.ModuleLoadService

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.