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

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.CacheMapping
All Implemented Interfaces:
java.io.Serializable

public class CacheMapping
extends RuntimeDescriptor

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_REF
           
static java.lang.String CONSTRAINT_FIELD
           
static java.lang.String DISPATCHER
           
static java.lang.String HTTP_METHOD
           
static java.lang.String KEY_FIELD
           
static java.lang.String NAME
           
static java.lang.String REFRESH_FIELD
           
static java.lang.String SCOPE
           
static java.lang.String SERVLET_NAME
           
static java.lang.String TIMEOUT
           
static java.lang.String URL_PATTERN
           
 
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
CacheMapping()
           
CacheMapping(CacheMapping other)
           
 
Method Summary
 int addConstraintField(ConstraintField value)
           
 int addDispatcher(java.lang.String value)
           
 int addHttpMethod(java.lang.String value)
           
 int addKeyField(boolean value)
           
 void addNewConstraintField(ConstraintField value)
           
 void addNewDispatcher(java.lang.String value)
           
 void addNewHttpMethod(java.lang.String value)
           
 java.lang.String getCacheHelperRef()
           
 ConstraintField[] getConstraintField()
           
 ConstraintField getConstraintField(int index)
           
 java.lang.String[] getDispatcher()
           
 java.lang.String getDispatcher(int index)
           
 java.lang.String[] getHttpMethod()
           
 java.lang.String getHttpMethod(int index)
           
 boolean[] getKeyField()
           
 java.lang.String getServletName()
           
 java.lang.String getTimeout()
           
 java.lang.String getUrlPattern()
           
 boolean isKeyField(int index)
           
 boolean isRefreshField()
           
 int removeConstraintField(ConstraintField value)
           
 int removeDispatcher(java.lang.String value)
           
 int removeHttpMethod(java.lang.String value)
           
 int removeKeyField(boolean value)
           
 void removeKeyField(int index)
           
 void setCacheHelperRef(java.lang.String value)
           
 void setConstraintField(ConstraintField[] value)
           
 void setConstraintField(int index, ConstraintField value)
           
 void setDispatcher(int index, java.lang.String value)
           
 void setDispatcher(java.lang.String[] value)
           
 void setHttpMethod(int index, java.lang.String value)
           
 void setHttpMethod(java.lang.String[] value)
           
 void setKeyField(boolean[] value)
           
 void setKeyField(int index, boolean value)
           
 void setRefreshField(boolean value)
           
 void setServletName(java.lang.String value)
           
 void setTimeout(java.lang.String value)
           
 void setUrlPattern(java.lang.String value)
           
 int sizeConstraintField()
           
 int sizeDispatcher()
           
 int sizeHttpMethod()
           
 int sizeKeyField()
           
 boolean verify()
           
 
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

SERVLET_NAME

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

URL_PATTERN

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

CACHE_HELPER_REF

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

TIMEOUT

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

NAME

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

SCOPE

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

REFRESH_FIELD

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

HTTP_METHOD

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

DISPATCHER

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

KEY_FIELD

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

CONSTRAINT_FIELD

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

CacheMapping

public CacheMapping(CacheMapping other)

CacheMapping

public CacheMapping()
Method Detail

setServletName

public void setServletName(java.lang.String value)

getServletName

public java.lang.String getServletName()

setUrlPattern

public void setUrlPattern(java.lang.String value)

getUrlPattern

public java.lang.String getUrlPattern()

setCacheHelperRef

public void setCacheHelperRef(java.lang.String value)

getCacheHelperRef

public java.lang.String getCacheHelperRef()

setTimeout

public void setTimeout(java.lang.String value)

getTimeout

public java.lang.String getTimeout()

setRefreshField

public void setRefreshField(boolean value)

isRefreshField

public boolean isRefreshField()

setDispatcher

public void setDispatcher(int index,
                          java.lang.String value)

getDispatcher

public java.lang.String getDispatcher(int index)

setDispatcher

public void setDispatcher(java.lang.String[] value)

getDispatcher

public java.lang.String[] getDispatcher()

sizeDispatcher

public int sizeDispatcher()

addDispatcher

public int addDispatcher(java.lang.String value)

addNewDispatcher

public void addNewDispatcher(java.lang.String value)

removeDispatcher

public int removeDispatcher(java.lang.String value)

setHttpMethod

public void setHttpMethod(int index,
                          java.lang.String value)

getHttpMethod

public java.lang.String getHttpMethod(int index)

setHttpMethod

public void setHttpMethod(java.lang.String[] value)

getHttpMethod

public java.lang.String[] getHttpMethod()

sizeHttpMethod

public int sizeHttpMethod()

addHttpMethod

public int addHttpMethod(java.lang.String value)

addNewHttpMethod

public void addNewHttpMethod(java.lang.String value)

removeHttpMethod

public int removeHttpMethod(java.lang.String value)

setKeyField

public void setKeyField(int index,
                        boolean value)

isKeyField

public boolean isKeyField(int index)

setKeyField

public void setKeyField(boolean[] value)

getKeyField

public boolean[] getKeyField()

sizeKeyField

public int sizeKeyField()

addKeyField

public int addKeyField(boolean value)

removeKeyField

public int removeKeyField(boolean value)

removeKeyField

public void removeKeyField(int index)

setConstraintField

public void setConstraintField(int index,
                               ConstraintField value)

getConstraintField

public ConstraintField getConstraintField(int index)

setConstraintField

public void setConstraintField(ConstraintField[] value)

getConstraintField

public ConstraintField[] getConstraintField()

sizeConstraintField

public int sizeConstraintField()

addConstraintField

public int addConstraintField(ConstraintField value)

addNewConstraintField

public void addNewConstraintField(ConstraintField value)

removeConstraintField

public int removeConstraintField(ConstraintField value)

verify

public boolean verify()


Copyright © 2012 GlassFish Community. All Rights Reserved.