Package org.apache.geronimo.enterprise.deploy.tool

Examples of org.apache.geronimo.enterprise.deploy.tool.WebDeployableObject


            throw new IllegalStateException("Tried to load a WAR but the current module is "+context.moduleInfo.getClass().getName());
        }
        WARInfo warInfo = (WARInfo)context.moduleInfo;
        try {
            ClassLoader loader = new URLClassLoader(new URL[]{warInfo.file.toURL()}, ClassLoader.getSystemClassLoader());
            context.standardModule = new WebDeployableObject(warInfo.jarFile, loader);
        } catch(MalformedURLException e) {
            context.out.println("ERROR: "+warInfo.file+" is not a valid JAR file!");
            context.moduleInfo = null;
            return;
        }
View Full Code Here


            throw new IllegalStateException("Tried to load a WAR but the current module is "+context.moduleInfo.getClass().getName());
        }
        WARInfo warInfo = (WARInfo)context.moduleInfo;
        try {
            ClassLoader loader = new URLClassLoader(new URL[]{warInfo.file.toURL()}, ClassLoader.getSystemClassLoader());
            context.standardModule = new WebDeployableObject(warInfo.jarFile, loader);
        } catch(MalformedURLException e) {
            context.out.println("ERROR: "+warInfo.file+" is not a valid JAR file!");
            context.moduleInfo = null;
            return;
        }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.enterprise.deploy.tool.WebDeployableObject

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.