public boolean isInstance(Object obj) { if (super.isInstance(obj)) { ApplicationOrderInfo appOrderInfo = (ApplicationOrderInfo)obj; if (appOrderInfo.getApplication().getObjectType().startsWith(SYSTEM_PREFIX)) { return true; } } return false; } };
public boolean isInstance(Object obj) { if (super.isInstance(obj)) { ApplicationOrderInfo appOrderInfo = (ApplicationOrderInfo)obj; if (appOrderInfo.getApplication().getObjectType().equals(USER)) { return true; } } return false; } };
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; }
if (application.getObjectType().equals("system-all") || application.getObjectType().equals("system-instance")) { ApplicationRef newAppRef = instance.createChild(ApplicationRef.class); newAppRef.setRef(application.getName());
if (application.getObjectType().equals("system-all") || application.getObjectType().equals("system-instance")) { ApplicationRef newAppRef = instance.createChild(ApplicationRef.class); newAppRef.setRef(application.getName());
if (application.getObjectType().equals("system-all") || application.getObjectType().equals("system-instance")) { ApplicationRef newAppRef = instance.createChild(ApplicationRef.class); newAppRef.setRef(application.getName());
if (application.getObjectType().equals("system-all") || application.getObjectType().equals("system-instance")) { ApplicationRef newAppRef = instance.createChild(ApplicationRef.class); newAppRef.setRef(application.getName());
for (Application application : ((Applications)apps_w).getModules(Application.class)) { if (application.getObjectType().startsWith( "system-")) { ((Applications)apps_w).getModules().remove(application);