Class Domain.Duck
- java.lang.Object
-
- com.sun.enterprise.config.serverbeans.Domain.Duck
-
-
Constructor Summary
Constructors Constructor Description Duck()
-
Method Summary
-
-
-
Method Detail
-
getAllDefinedSystemApplications
public static List<Application> getAllDefinedSystemApplications(Domain me)
-
getApplicationRefInServer
public static ApplicationRef getApplicationRefInServer(Domain me, String sn, String name)
-
getApplicationRefsInServer
public static List<ApplicationRef> getApplicationRefsInServer(Domain me, String sn)
-
getSystemApplicationsReferencedFrom
public static List<Application> getSystemApplicationsReferencedFrom(Domain d, String sn)
-
getSystemApplicationReferencedFrom
public static Application getSystemApplicationReferencedFrom(Domain d, String sn, String appName)
-
isNamedSystemApplicationReferencedFrom
public static boolean isNamedSystemApplicationReferencedFrom(Domain d, String appName, String serverName)
-
getDeploymentGroupNamed
public static DeploymentGroup getDeploymentGroupNamed(Domain d, String name)
-
getDeploymentGroupsForInstance
public static List<DeploymentGroup> getDeploymentGroupsForInstance(Domain d, String instanceName)
-
isCurrentInstanceMatchingTarget
public static boolean isCurrentInstanceMatchingTarget(Domain d, String target, String appName, String currentInstance, List<String> referencedTargets)
-
getApplicationRefsInTarget
public static List<ApplicationRef> getApplicationRefsInTarget(Domain me, String target)
-
getApplicationRefsInTarget
public static List<ApplicationRef> getApplicationRefsInTarget(Domain me, String tgt, boolean includeInstances)
-
getApplicationRefInTarget
public static ApplicationRef getApplicationRefInTarget(Domain me, String appName, String target)
-
isAppRefEnabledInTarget
public static boolean isAppRefEnabledInTarget(Domain me, String appName, String target)
-
isAppEnabledInTarget
public static boolean isAppEnabledInTarget(Domain me, String appName, String target)
-
getAllReferencedTargetsForApplication
public static List<String> getAllReferencedTargetsForApplication(Domain me, String appName)
- Parameters:
me
- the current domainappName
- the name of the application- Returns:
- all of the targets that have application-refs for an application. If an instance is included by being in a deployment group or cluster it won't appear in this list.
-
isAppReferencedByPaaSTarget
public static boolean isAppReferencedByPaaSTarget(Domain me, String appName)
-
getApplicationsInTarget
public static List<Application> getApplicationsInTarget(Domain me, String target)
-
getVirtualServersForApplication
public static String getVirtualServersForApplication(Domain d, String target, String appName)
-
getEnabledForApplication
public static String getEnabledForApplication(Domain d, String target, String appName)
-
getReferenceContainerNamed
public static ReferenceContainer getReferenceContainerNamed(Domain d, String name)
-
getReferenceContainersOf
public static List<ReferenceContainer> getReferenceContainersOf(Domain d, Config config)
-
getAllReferenceContainers
public static List<ReferenceContainer> getAllReferenceContainers(Domain d)
-
checkIfExtensionExists
public static <P extends DomainExtension> boolean checkIfExtensionExists(Domain d, Class<P> configBeanType)
-
-