Class Cache
-
- All Implemented Interfaces:
Serializable
public class Cache extends WebPropertyContainer
this class contains runtime information for the web bundle it was kept to be backward compatible with the schema2beans descriptors generated by iAS 7.0 engineering team.- Author:
- Jerome Dochez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCACHE_HELPERstatic StringCACHE_MAPPINGstatic StringDEFAULT_HELPERstatic StringENABLEDstatic StringMAX_ENTRIESstatic StringPROPERTYstatic StringTIMEOUT_IN_SECONDS-
Fields inherited from class org.glassfish.web.deployment.runtime.WebPropertyContainer
NAME, VALUE
-
Fields inherited from class com.sun.enterprise.deployment.runtime.RuntimeDescriptor
propListeners
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description Cache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddCacheHelper(CacheHelper value)intaddCacheMapping(CacheMapping value)voidaddNewCacheHelper(CacheHelper value)voidaddNewCacheMapping(CacheMapping value)CacheHelper[]getCacheHelper()CacheHelpergetCacheHelper(int index)CacheMapping[]getCacheMapping()CacheMappinggetCacheMapping(int index)DefaultHelpergetDefaultHelper()intremoveCacheHelper(CacheHelper value)intremoveCacheMapping(CacheMapping value)voidsetCacheHelper(int index, CacheHelper value)voidsetCacheHelper(CacheHelper[] value)voidsetCacheMapping(int index, CacheMapping value)voidsetCacheMapping(CacheMapping[] value)voidsetDefaultHelper(DefaultHelper value)intsizeCacheHelper()intsizeCacheMapping()booleanverify()-
Methods inherited from class org.glassfish.web.deployment.runtime.WebPropertyContainer
addWebProperty, getWebProperty, getWebProperty, removeWebProperty, setWebProperty, setWebProperty, sizeWebProperty
-
Methods inherited from class com.sun.enterprise.deployment.runtime.RuntimeDescriptor
addPropertyChangeListener, addPropertyChangeListener, addValue, getAttributeValue, getAttributeValue, getAttributeValue, getValue, getValue, getValues, removePropertyChangeListener, removePropertyChangeListener, removeValue, removeValue, setAttributeValue, setAttributeValue, setAttributeValue, setValue, setValue, size
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Field Detail
-
CACHE_HELPER
public static final String CACHE_HELPER
- See Also:
- Constant Field Values
-
DEFAULT_HELPER
public static final String DEFAULT_HELPER
- See Also:
- Constant Field Values
-
PROPERTY
public static final String PROPERTY
- See Also:
- Constant Field Values
-
CACHE_MAPPING
public static final String CACHE_MAPPING
- See Also:
- Constant Field Values
-
MAX_ENTRIES
public static final String MAX_ENTRIES
- See Also:
- Constant Field Values
-
TIMEOUT_IN_SECONDS
public static final String TIMEOUT_IN_SECONDS
- See Also:
- Constant Field Values
-
ENABLED
public static final String ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
setCacheHelper
public void setCacheHelper(int index, CacheHelper value)
-
getCacheHelper
public CacheHelper getCacheHelper(int index)
-
setCacheHelper
public void setCacheHelper(CacheHelper[] value)
-
getCacheHelper
public CacheHelper[] getCacheHelper()
-
sizeCacheHelper
public int sizeCacheHelper()
-
addCacheHelper
public int addCacheHelper(CacheHelper value)
-
addNewCacheHelper
public void addNewCacheHelper(CacheHelper value)
-
removeCacheHelper
public int removeCacheHelper(CacheHelper value)
-
setDefaultHelper
public void setDefaultHelper(DefaultHelper value)
-
getDefaultHelper
public DefaultHelper getDefaultHelper()
-
setCacheMapping
public void setCacheMapping(int index, CacheMapping value)
-
getCacheMapping
public CacheMapping getCacheMapping(int index)
-
setCacheMapping
public void setCacheMapping(CacheMapping[] value)
-
getCacheMapping
public CacheMapping[] getCacheMapping()
-
sizeCacheMapping
public int sizeCacheMapping()
-
addCacheMapping
public int addCacheMapping(CacheMapping value)
-
addNewCacheMapping
public void addNewCacheMapping(CacheMapping value)
-
removeCacheMapping
public int removeCacheMapping(CacheMapping value)
-
verify
public boolean verify()
- Overrides:
verifyin classWebPropertyContainer
-
-