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 int
getCacheIdleTimeoutInSeconds()
int
getMaxCacheSize()
int
getNumberOfVictimsToSelect()
String
getPassivationStorePath()
int
getRemovalTimeoutInSeconds()
String
getVictimSelectionPolicy()
void
init(EjbDescriptor desc)
void
postConstruct()
String
toString()
-
-
-
Field Detail
-
_logger
protected static final Logger _logger
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in 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()
-
-