com.sun.enterprise.config.serverbeans
Class Domain.Duck

java.lang.Object
  extended by com.sun.enterprise.config.serverbeans.Domain.Duck
Enclosing interface:
Domain

public static class Domain.Duck
extends Object


Constructor Summary
Domain.Duck()
           
 
Method Summary
static List<Application> getAllDefinedSystemApplications(Domain me)
           
static List<ReferenceContainer> getAllReferenceContainers(Domain d)
           
static List<String> getAllReferencedTargetsForApplication(Domain me, String appName)
           
static List<String> getAllTargets(Domain d)
           
static ApplicationRef getApplicationRefInServer(Domain me, String sn, String name)
           
static ApplicationRef getApplicationRefInTarget(Domain me, String appName, String target)
           
static List<ApplicationRef> getApplicationRefsInServer(Domain me, String sn)
           
static List<ApplicationRef> getApplicationRefsInTarget(Domain me, String target)
           
static List<ApplicationRef> getApplicationRefsInTarget(Domain me, String tgt, boolean includeInstances)
           
static List<Application> getApplicationsInTarget(Domain me, String target)
           
static Cluster getClusterForInstance(Domain d, String instanceName)
           
static Cluster getClusterNamed(Domain d, String name)
           
static List<Cluster> getClustersOnNode(Domain domain, String nodeName)
           
static Config getConfigNamed(Domain d, String name)
           
static String getEnabledForApplication(Domain d, String target, String appName)
           
static List<Server> getInstancesOnNode(Domain domain, String nodeName)
           
static String getName(Domain domain)
           
static Node getNodeNamed(Domain d, String name)
           
static ReferenceContainer getReferenceContainerNamed(Domain d, String name)
           
static List<ReferenceContainer> getReferenceContainersOf(Domain d, Config config)
           
static Server getServerNamed(Domain d, String name)
           
static List<Server> getServersInTarget(Domain me, String target)
           
static Application getSystemApplicationReferencedFrom(Domain d, String sn, String appName)
           
static List<Application> getSystemApplicationsReferencedFrom(Domain d, String sn)
           
static String getVirtualServersForApplication(Domain d, String target, String appName)
           
static boolean isAppEnabledInTarget(Domain me, String appName, String target)
           
static boolean isAppRefEnabledInTarget(Domain me, String appName, String target)
           
static boolean isCurrentInstanceMatchingTarget(Domain d, String target, String appName, String currentInstance, List<String> referencedTargets)
           
static boolean isNamedSystemApplicationReferencedFrom(Domain d, String appName, String serverName)
           
static boolean isServer(Domain d, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Domain.Duck

public Domain.Duck()
Method Detail

getName

public static String getName(Domain domain)

getInstancesOnNode

public static List<Server> getInstancesOnNode(Domain domain,
                                              String nodeName)

getClustersOnNode

public static List<Cluster> getClustersOnNode(Domain domain,
                                              String nodeName)

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)

getServerNamed

public static Server getServerNamed(Domain d,
                                    String name)

getConfigNamed

public static Config getConfigNamed(Domain d,
                                    String name)

getClusterNamed

public static Cluster getClusterNamed(Domain d,
                                      String name)

getNodeNamed

public static Node getNodeNamed(Domain d,
                                String name)

isCurrentInstanceMatchingTarget

public static boolean isCurrentInstanceMatchingTarget(Domain d,
                                                      String target,
                                                      String appName,
                                                      String currentInstance,
                                                      List<String> referencedTargets)

getServersInTarget

public static List<Server> getServersInTarget(Domain me,
                                              String target)

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)

getAllTargets

public static List<String> getAllTargets(Domain d)

getAllReferencedTargetsForApplication

public static List<String> getAllReferencedTargetsForApplication(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)

getClusterForInstance

public static Cluster getClusterForInstance(Domain d,
                                            String instanceName)

isServer

public static boolean isServer(Domain d,
                               String name)


Copyright © 2012 GlassFish Community. All Rights Reserved.