Class CacheProperties

java.lang.Object
com.sun.ejb.base.container.util.CacheProperties
All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct

@Service public class CacheProperties extends Object implements org.glassfish.hk2.api.PostConstruct
A util class to read the bean cache related entries from domain.xml and sun-ejb-jar.xml
Author:
Mahesh Kannan
  • Field Details

    • _logger

      protected static final Logger _logger
  • Constructor Details

    • CacheProperties

      public CacheProperties()
  • Method Details

    • postConstruct

      public void postConstruct()
      Specified by:
      postConstruct in interface org.glassfish.hk2.api.PostConstruct
    • init

      public void init(EjbDescriptor desc)
    • getMaxCacheSize

      public int getMaxCacheSize()
    • getNumberOfVictimsToSelect

      public int getNumberOfVictimsToSelect()
    • getCacheIdleTimeoutInSeconds

      public int getCacheIdleTimeoutInSeconds()
    • getRemovalTimeoutInSeconds

      public int getRemovalTimeoutInSeconds()
    • getVictimSelectionPolicy

      public String getVictimSelectionPolicy()
    • getPassivationStorePath

      public String getPassivationStorePath()
    • toString

      public String toString()
      Overrides:
      toString in class Object