public static String getVirtualServersForApplication(Domain d, String target, String appName) { ApplicationRef appRef = d.getApplicationRefInTarget( appName, target); if (appRef != null) { return appRef.getVirtualServers(); } else { return null; } }
public static String getEnabledForApplication(Domain d, String target, String appName) { ApplicationRef appRef = d.getApplicationRefInTarget( appName, target); if (appRef != null) { return appRef.getEnabled(); } else { return null; } }
public static String getVirtualServersForApplication(Domain d, String target, String appName) { ApplicationRef appRef = d.getApplicationRefInTarget( appName, target); if (appRef != null) { return appRef.getVirtualServers(); } else { return null; } }
public static String getEnabledForApplication(Domain d, String target, String appName) { ApplicationRef appRef = d.getApplicationRefInTarget( appName, target); if (appRef != null) { return appRef.getEnabled(); } else { return null; } }
public static List<String> getAllReferencedTargetsForApplication( Domain me, String appName) { List<String> referencedTargets = new ArrayList<String>(); for (String target : me.getAllTargets()) { if (me.getApplicationRefInTarget(appName, target) != null) { referencedTargets.add(target); } } return referencedTargets; }
public static List<String> getAllReferencedTargetsForApplication( Domain me, String appName) { List<String> referencedTargets = new ArrayList<String>(); for (String target : me.getAllTargets()) { if (me.getApplicationRefInTarget(appName, target) != null) { referencedTargets.add(target); } } return referencedTargets; }
ApplicationRef appRef = domain.getApplicationRefInTarget( moduleId, target);
ApplicationRef ref = domain.getApplicationRefInTarget(appName, target); if (ref == null) { if (env.isDas()) {
ApplicationRef ref = domain.getApplicationRefInTarget(appName, target); if (ref == null) { report.setMessage(localStrings.getLocalString("ref.not.referenced.target","Application {0} is not referenced by target {1}", appName, target));
ApplicationRef ref = domain.getApplicationRefInTarget(appName, target); if (ref == null) { report.setMessage(localStrings.getLocalString("ref.not.referenced.target","Application {0} is not referenced by target {1}", appName, target));
Application app = applications.getApplication(appName); ApplicationRef applicationRef = domain.getApplicationRefInTarget(appName, target); if ( applicationRef != null ) {
ApplicationRef applicationRef = domain.getApplicationRefInTarget(appName, target); if (applicationRef == null) { if (env.isDas()) {
ApplicationRef ref = domain.getApplicationRefInTarget(name, target); if (ref == null) { report.setMessage(localStrings.getLocalString("lifecycle.not.referenced.target","Lifecycle module {0} is not referenced by target {1}", name, target));
ApplicationRef applicationRef = domain.getApplicationRefInTarget(name(), target); if (applicationRef == null) { report.setMessage(localStrings.getLocalString("ref.not.referenced.target","Application {0} is not referenced by target {1}", name(), target));