Package com.sun.ejb.base.container.util
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
-
-
Constructor Summary
Constructors Constructor Description CacheProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCacheIdleTimeoutInSeconds()intgetMaxCacheSize()intgetNumberOfVictimsToSelect()StringgetPassivationStorePath()intgetRemovalTimeoutInSeconds()StringgetVictimSelectionPolicy()voidinit(EjbDescriptor desc)voidpostConstruct()StringtoString()
-
-
-
Field Detail
-
_logger
protected static final Logger _logger
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstructin interfaceorg.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()
-
-