Class Constants

java.lang.Object
org.glassfish.common.util.Constants

public class Constants extends Object
These are constants that can be used throughout the server
Author:
jwells
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    This constant should be used whenever there are multiple implementations of an @Contract and one of them should be the default implementation that people should get if they have no other distinguising information in their lookup or @Inject point.
    static final int
    This constant should be used as the rank of an important start level service (one that should be initialized generally ahead of other services at the same run-level)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • DEFAULT_IMPLEMENTATION_RANK

      public static final int DEFAULT_IMPLEMENTATION_RANK
      This constant should be used whenever there are multiple implementations of an @Contract and one of them should be the default implementation that people should get if they have no other distinguising information in their lookup or @Inject point.
      See Also:
    • IMPORTANT_RUN_LEVEL_SERVICE

      public static final int IMPORTANT_RUN_LEVEL_SERVICE
      This constant should be used as the rank of an important start level service (one that should be initialized generally ahead of other services at the same run-level)
      See Also:
  • Constructor Details

    • Constants

      public Constants()