Class JavaEEDeploymentUtils


  • public class JavaEEDeploymentUtils
    extends Object
    Deloyment utility class for JavaEE related things
    • Constructor Detail

      • JavaEEDeploymentUtils

        public JavaEEDeploymentUtils()
    • Method Detail

      • isJavaEE

        public static boolean isJavaEE​(ReadableArchive archive,
                                       org.glassfish.hk2.api.ServiceLocator habitat)
        check whether the archive is a JavaEE archive
        Parameters:
        archive - archive to be tested
        habitat -
        Returns:
        whether the archive is a JavaEE archive
      • isJavaEE

        public static boolean isJavaEE​(ReadableArchive archive,
                                       DeploymentContext context,
                                       org.glassfish.hk2.api.ServiceLocator habitat)
        check whether the archive is a JavaEE archive
        Parameters:
        archive - archive to be tested
        context - deployment context
        habitat -
        Returns:
        whether the archive is a JavaEE archive