ehcache

net.sf.ehcache.config
Class TerracottaConfigConfiguration

java.lang.Object
  extended by net.sf.ehcache.config.TerracottaConfigConfiguration
All Implemented Interfaces:
java.lang.Cloneable

public class TerracottaConfigConfiguration
extends java.lang.Object
implements java.lang.Cloneable

Holds the Terracotta clustered configuration

Author:
amiller@terracotta.org

Constructor Summary
TerracottaConfigConfiguration()
           
 
Method Summary
 TerracottaConfigConfiguration clone()
          Clones this object, following the usual contract.
 void extractTcconfig(java.lang.String text)
          Tell the BeanHandler to extract the entire subtree xml as text at element .
 java.lang.String getEmbeddedConfig()
          Get the embedded config read as
 java.lang.String getOriginalEmbeddedConfig()
          Get the original embedded config
 java.lang.String getUrl()
          Get url string
 boolean isUrlConfig()
          Helper to check whether this is url config or embedded config
 void setUrl(java.lang.String url)
          Set url
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerracottaConfigConfiguration

public TerracottaConfigConfiguration()
Method Detail

clone

public TerracottaConfigConfiguration clone()
                                    throws java.lang.CloneNotSupportedException
Clones this object, following the usual contract.

Overrides:
clone in class java.lang.Object
Returns:
a copy, which independent other than configurations than cannot change.
Throws:
java.lang.CloneNotSupportedException

setUrl

public final void setUrl(java.lang.String url)
Set url


getUrl

public final java.lang.String getUrl()
Get url string


extractTcconfig

public final void extractTcconfig(java.lang.String text)
Tell the BeanHandler to extract the entire subtree xml as text at element . Expects to receive the contents of the tag and will wrap it in a proper tc-config header / footer.


getEmbeddedConfig

public final java.lang.String getEmbeddedConfig()
Get the embedded config read as


getOriginalEmbeddedConfig

public final java.lang.String getOriginalEmbeddedConfig()
Get the original embedded config

Returns:
original embedded config

isUrlConfig

public final boolean isUrlConfig()
Helper to check whether this is url config or embedded config


ehcache

true