com.sun.ejb.base.container.util
Class CacheProperties

java.lang.Object
  extended by com.sun.ejb.base.container.util.CacheProperties

@Service
public class CacheProperties
extends Object

A util class to read the bean cache related entries from domain.xml and sun-ejb-jar.xml

Author:
Mahesh Kannan

Field Summary
protected static Logger _logger
           
 
Constructor Summary
CacheProperties()
           
 
Method Summary
 int getCacheIdleTimeoutInSeconds()
           
 int getMaxCacheSize()
           
 int getNumberOfVictimsToSelect()
           
 String getPassivationStorePath()
           
 int getRemovalTimeoutInSeconds()
           
 String getVictimSelectionPolicy()
           
 void init(EjbDescriptor desc)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_logger

protected static final Logger _logger
Constructor Detail

CacheProperties

public CacheProperties()
Method Detail

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


Copyright © 2012 GlassFish Community. All Rights Reserved.