Class Domain.Duck

  • Enclosing interface:
    Domain

    public static class Domain.Duck
    extends Object
    • Constructor Detail

      • Duck

        public Duck()
    • Method Detail

      • getAllDefinedSystemApplications

        public static List<Application> getAllDefinedSystemApplications​(Domain me)
      • isNamedSystemApplicationReferencedFrom

        public static boolean isNamedSystemApplicationReferencedFrom​(Domain d,
                                                                     String appName,
                                                                     String serverName)
      • isCurrentInstanceMatchingTarget

        public static boolean isCurrentInstanceMatchingTarget​(Domain d,
                                                              String target,
                                                              String appName,
                                                              String currentInstance,
                                                              List<String> referencedTargets)
      • 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)
      • isAppReferencedByPaaSTarget

        public static boolean isAppReferencedByPaaSTarget​(Domain me,
                                                          String appName)
      • 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 org.glassfish.api.admin.config.ReferenceContainer getReferenceContainerNamed​(Domain d,
                                                                                                   String name)
      • getReferenceContainersOf

        public static List<org.glassfish.api.admin.config.ReferenceContainer> getReferenceContainersOf​(Domain d,
                                                                                                       Config config)
      • getAllReferenceContainers

        public static List<org.glassfish.api.admin.config.ReferenceContainer> getAllReferenceContainers​(Domain d)
      • getClusterForInstance

        public static Cluster getClusterForInstance​(Domain d,
                                                    String instanceName)
      • isServer

        public static boolean isServer​(Domain d,
                                       String name)
      • checkIfExtensionExists

        public static <P extends DomainExtension> boolean checkIfExtensionExists​(Domain d,
                                                                                 Class<P> configBeanType)