Class Constants

java.lang.Object
org.apache.catalina.core.Constants

public class Constants extends Object
Constants used by the core Catalina package.
  • Field Details

    • MAJOR_VERSION

      public static final int MAJOR_VERSION
      The major version of the Servlet specification implemented by this container.
      See Also:
    • MINOR_VERSION

      public static final int MINOR_VERSION
      The minor version of the Servlet specification implemented by this container.
      See Also:
    • JSP_SERVLET_CLASS

      public static final String JSP_SERVLET_CLASS
      The fully qualified class name of the JSP servlet.
      See Also:
    • TOMCAT_JDBC_POOL_FACTORY

      public static final String TOMCAT_JDBC_POOL_FACTORY
      The fully qualified class name of the JNDI resource factory of the Tomcat JDBC connection pool. Referenced by name only: catalina.jar has no compile-time dependency on tomcat-jdbc.jar.
      See Also:
    • DATASOURCE_FACTORY_SYSPROP

      public static final String DATASOURCE_FACTORY_SYSPROP
      System property consulted to determine the default factory of a javax.sql.DataSource resource declared without a factory attribute.
      See Also:
    • POOL_NAME_PARAMETER

      public static final String POOL_NAME_PARAMETER
      Name of the pool attribute that carries the pool's registration name. Mirrors the OBJECT_NAME constant of the pool's JNDI resource factory.
      See Also:
    • POOL_DATASOURCE_TYPES

      public static final Set<String> POOL_DATASOURCE_TYPES
      The resource type names the Tomcat JDBC pool's JNDI resource factory builds data sources for.