com.sun.enterprise.deployment.runtime.web
Class Cache

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.runtime.RuntimeDescriptor
                  extended by com.sun.enterprise.deployment.runtime.web.WebPropertyContainer
                      extended by com.sun.enterprise.deployment.runtime.web.Cache
All Implemented Interfaces:
java.io.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
static java.lang.String CACHE_HELPER
           
static java.lang.String CACHE_MAPPING
           
static java.lang.String DEFAULT_HELPER
           
static java.lang.String ENABLED
           
static java.lang.String MAX_ENTRIES
           
static java.lang.String PROPERTY
           
static java.lang.String TIMEOUT_IN_SECONDS
           
 
Fields inherited from class com.sun.enterprise.deployment.runtime.web.WebPropertyContainer
NAME, VALUE
 
Fields inherited from class com.sun.enterprise.deployment.runtime.RuntimeDescriptor
propListeners
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
Cache()
           
 
Method Summary
 int addCacheHelper(CacheHelper value)
           
 int addCacheMapping(CacheMapping value)
           
 void addNewCacheHelper(CacheHelper value)
           
 void addNewCacheMapping(CacheMapping value)
           
 CacheHelper[] getCacheHelper()
           
 CacheHelper getCacheHelper(int index)
           
 CacheMapping[] getCacheMapping()
           
 CacheMapping getCacheMapping(int index)
           
 DefaultHelper getDefaultHelper()
           
 int removeCacheHelper(CacheHelper value)
           
 int removeCacheMapping(CacheMapping value)
           
 void setCacheHelper(CacheHelper[] value)
           
 void setCacheHelper(int index, CacheHelper value)
           
 void setCacheMapping(CacheMapping[] value)
           
 void setCacheMapping(int index, CacheMapping value)
           
 void setDefaultHelper(DefaultHelper value)
           
 int sizeCacheHelper()
           
 int sizeCacheMapping()
           
 boolean verify()
           
 
Methods inherited from class com.sun.enterprise.deployment.runtime.web.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, setValues, size
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, 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 com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CACHE_HELPER

public static final java.lang.String CACHE_HELPER
See Also:
Constant Field Values

DEFAULT_HELPER

public static final java.lang.String DEFAULT_HELPER
See Also:
Constant Field Values

PROPERTY

public static final java.lang.String PROPERTY
See Also:
Constant Field Values

CACHE_MAPPING

public static final java.lang.String CACHE_MAPPING
See Also:
Constant Field Values

MAX_ENTRIES

public static final java.lang.String MAX_ENTRIES
See Also:
Constant Field Values

TIMEOUT_IN_SECONDS

public static final java.lang.String TIMEOUT_IN_SECONDS
See Also:
Constant Field Values

ENABLED

public static final java.lang.String ENABLED
See Also:
Constant Field Values
Constructor Detail

Cache

public Cache()
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:
verify in class WebPropertyContainer


Copyright © 2012 GlassFish Community. All Rights Reserved.