public String getContextRoot(String moduleID) { ApplicationName module = getModule(moduleID); if (module == null) { return null; } if (module instanceof Application) { return ((Application)module).getContextRoot(); } else { return null; } }
public static String getContextRoot(String moduleID) { ApplicationName module = getModule(moduleID); if (module == null) { return null; } if (module instanceof Application) { return ((Application)module).getContextRoot(); } else if (module instanceof WebModule) { return ((WebModule)module).getContextRoot(); } else { return null; } }
public static Properties getDeployProperties(Application instance) { Properties deploymentProps = new Properties(); for (Property prop : instance.getProperty()) { deploymentProps.put(prop.getName(), prop.getValue()); } deploymentProps.setProperty(ServerTags.OBJECT_TYPE, instance.getObjectType()); if (instance.getContextRoot() != null) { deploymentProps.setProperty(ServerTags.CONTEXT_ROOT, instance.getContextRoot()); } if (instance.getDirectoryDeployed() != null) { deploymentProps.setProperty(ServerTags.DIRECTORY_DEPLOYED, instance.getDirectoryDeployed()); } return deploymentProps; }
public static Properties getDeployProperties(Application instance) { Properties deploymentProps = new Properties(); for (Property prop : instance.getProperty()) { if (prop.getValue() != null) { deploymentProps.put(prop.getName(), prop.getValue()); } } if (instance.getObjectType() != null) { deploymentProps.setProperty(ServerTags.OBJECT_TYPE, instance.getObjectType()); } if (instance.getContextRoot() != null) { deploymentProps.setProperty(ServerTags.CONTEXT_ROOT, instance.getContextRoot()); } if (instance.getDirectoryDeployed() != null) { deploymentProps.setProperty(ServerTags.DIRECTORY_DEPLOYED, instance.getDirectoryDeployed()); } return deploymentProps; }
deploymentParams.enabled = Boolean.FALSE; deploymentParams.contextroot = app.getContextRoot(); deploymentParams.libraries = app.getLibraries(); deploymentParams.availabilityenabled = Boolean.parseBoolean(app.getAvailabilityEnabled());
if (app.getContextRoot() != null) { this.previousContextRoot = app.getContextRoot();
deploymentParams.enabled = Boolean.FALSE; deploymentParams.contextroot = app.getContextRoot(); deploymentParams.libraries = app.getLibraries(); deploymentParams.availabilityenabled = Boolean.parseBoolean(app.getAvailabilityEnabled());
if (app.getContextRoot() != null) { this.previousContextRoot = app.getContextRoot();
String appName = app.getName(); String contextRoot = app.getContextRoot(); if (isSameApp(appName, application.getName())) { } else if ((application.getContextRoot()!=null) && application.getContextRoot().equals(contextRoot)) {