Class Constants


  • public class Constants
    extends java.lang.Object
    Constants used by the core Catalina package.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DATASOURCE_FACTORY_SYSPROP
      System property consulted to determine the default factory of a javax.sql.DataSource resource declared without a factory attribute.
      static java.lang.String JSP_SERVLET_CLASS
      The fully qualified class name of the JSP servlet.
      static int MAJOR_VERSION
      The major version of the Servlet specification implemented by this container.
      static int MINOR_VERSION
      The minor version of the Servlet specification implemented by this container.
      static java.lang.String Package
      Deprecated.
      static java.util.Set<java.lang.String> POOL_DATASOURCE_TYPES
      The resource type names the Tomcat JDBC pool's JNDI resource factory builds data sources for.
      static java.lang.String POOL_NAME_PARAMETER
      Name of the pool attribute that carries the pool's registration name.
      static java.lang.String TOMCAT_JDBC_POOL_FACTORY
      The fully qualified class name of the JNDI resource factory of the Tomcat JDBC connection pool.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Package

        @Deprecated
        public static final java.lang.String Package
        Deprecated.
        Unused. Will be removed in Apache Tomcat 10.1.x onwards.
        See Also:
        Constant Field Values
      • MAJOR_VERSION

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

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

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

        public static final java.lang.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:
        Constant Field Values
      • DATASOURCE_FACTORY_SYSPROP

        public static final java.lang.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:
        Constant Field Values
      • POOL_NAME_PARAMETER

        public static final java.lang.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:
        Constant Field Values
      • POOL_DATASOURCE_TYPES

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