com.waveset.session
Class CacheConfig

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.session.CacheConfig
All Implemented Interfaces:
javax.naming.Referenceable, XmlObject

public class CacheConfig
extends AbstractXmlObject


Field Summary
protected static CacheConfig _singleton
           
static java.lang.String ATT_NAME
           
static java.lang.String code_id
           
static java.lang.String DELETE_POLL_RATE_WRAPPER
           
static java.lang.String ELEMENT
          Our XML element name.
static java.lang.String LIST_SYNCHRONIZATION_ENABLED_WRAPPER
           
static java.lang.String UPDATE_POLL_RATE_WRAPPER
           
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace
 
Constructor Summary
CacheConfig()
          Build an empty object, ready for filling.
CacheConfig(org.w3c.dom.Element e)
          Build a CacheConfig object by parsing its DOM representation.
 
Method Summary
static CacheConfig getCacheConfig(com.waveset.repository.Repository repo)
           
static long getDeletePollRate()
           
 java.lang.String getElementName()
          Return our XML element name, required by XmlObject.
static long getUpdatePollRate()
           
static boolean listSynchronizationEnabled()
           
 void toXml(java.lang.StringBuffer b, int indent)
          Serialize the object to an XML buffer.
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

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

ELEMENT

public static final java.lang.String ELEMENT
Our XML element name.

See Also:
Constant Field Values

LIST_SYNCHRONIZATION_ENABLED_WRAPPER

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

UPDATE_POLL_RATE_WRAPPER

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

DELETE_POLL_RATE_WRAPPER

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

_singleton

protected static CacheConfig _singleton

ATT_NAME

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

CacheConfig

public CacheConfig()
Build an empty object, ready for filling.


CacheConfig

public CacheConfig(org.w3c.dom.Element e)
            throws WavesetException
Build a CacheConfig object by parsing its DOM representation. Required by XmlObject.

Method Detail

getElementName

public java.lang.String getElementName()
Return our XML element name, required by XmlObject.

Specified by:
getElementName in interface XmlObject
Specified by:
getElementName in class AbstractXmlObject

getCacheConfig

public static CacheConfig getCacheConfig(com.waveset.repository.Repository repo)
                                  throws WavesetException
Throws:
WavesetException

listSynchronizationEnabled

public static boolean listSynchronizationEnabled()
                                          throws WavesetException
Throws:
WavesetException

getUpdatePollRate

public static long getUpdatePollRate()
                              throws WavesetException
Throws:
WavesetException

getDeletePollRate

public static long getDeletePollRate()
                              throws WavesetException
Throws:
WavesetException

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)
Serialize the object to an XML buffer.

Specified by:
toXml in interface XmlObject
Specified by:
toXml in class AbstractXmlObject