Package org.apache.catalina.storeconfig
Class StoreDescription
java.lang.Object
org.apache.catalina.storeconfig.StoreDescription
Bean of a StoreDescription
<Description tag="Context" standard="true" default="true" externalAllowed="true" storeSeparate="true" backup="true" children="true" tagClass="org.apache.catalina.core.StandardContext" storeFactoryClass="org.apache.catalina.storeconfig.StandardContextSF" storeAppenderClass="org.apache.catalina.storeconfig.StoreContextAppender"> <TransientAttribute>available</TransientAttribute> <TransientAttribute>configFile</TransientAttribute> <TransientAttribute>configured</TransientAttribute> <TransientAttribute>displayName</TransientAttribute> <TransientAttribute>distributable</TransientAttribute> <TransientAttribute>domain</TransientAttribute> <TransientAttribute>engineName</TransientAttribute> <TransientAttribute>name</TransientAttribute> <TransientAttribute>publicId</TransientAttribute> <TransientAttribute>replaceWelcomeFiles</TransientAttribute> <TransientAttribute>saveConfig</TransientAttribute> <TransientAttribute>sessionTimeout</TransientAttribute> <TransientAttribute>startupTime</TransientAttribute> <TransientAttribute>tldScanTime</TransientAttribute> </Description>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTransientAttribute
(String attribute) void
addTransientChild
(String classname) getId()
Return the real id or TagClassgetTag()
boolean
boolean
isBackup()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isTransientAttribute
(String attribute) Is attribute transient, please don't save this.boolean
isTransientChild
(String classname) Is child transient, please don't save this.void
removeTransientAttribute
(String attribute) void
removeTransientChild
(String classname) void
setAttributes
(boolean attributes) void
setBackup
(boolean backup) void
setChildren
(boolean children) void
setDefault
(boolean aDefault) void
setExternalAllowed
(boolean external) void
setExternalOnly
(boolean external) void
void
setStandard
(boolean standard) void
setStoreFactory
(IStoreFactory storeFactory) void
setStoreFactoryClass
(String storeFactoryClass) void
setStoreSeparate
(boolean storeSeparate) void
setStoreWriterClass
(String storeWriterClass) void
void
setTagClass
(String tagClass) void
setTransientAttributes
(List<String> transientAttributes) void
setTransientChildren
(List<String> transientChildren)
-
Constructor Details
-
StoreDescription
public StoreDescription()
-
-
Method Details
-
isExternalAllowed
public boolean isExternalAllowed()- Returns:
- Returns the external.
-
setExternalAllowed
public void setExternalAllowed(boolean external) - Parameters:
external
- The external to set.
-
isExternalOnly
public boolean isExternalOnly() -
setExternalOnly
public void setExternalOnly(boolean external) -
isStandard
public boolean isStandard()- Returns:
- Returns the standard.
-
setStandard
public void setStandard(boolean standard) - Parameters:
standard
- The standard to set.
-
isBackup
public boolean isBackup()- Returns:
- Returns the backup.
-
setBackup
public void setBackup(boolean backup) - Parameters:
backup
- The backup to set.
-
isDefault
public boolean isDefault()- Returns:
- Returns the myDefault.
-
setDefault
public void setDefault(boolean aDefault) - Parameters:
aDefault
- The myDefault to set.
-
getStoreFactoryClass
- Returns:
- Returns the storeFactory.
-
setStoreFactoryClass
- Parameters:
storeFactoryClass
- The storeFactory to set.
-
getStoreFactory
- Returns:
- Returns the storeFactory.
-
setStoreFactory
- Parameters:
storeFactory
- The storeFactory to set.
-
getStoreWriterClass
- Returns:
- Returns the storeWriterClass.
-
setStoreWriterClass
- Parameters:
storeWriterClass
- The storeWriterClass to set.
-
getTag
- Returns:
- Returns the tagClass.
-
setTag
- Parameters:
tag
- The tag to set.
-
getTagClass
- Returns:
- Returns the tagClass.
-
setTagClass
- Parameters:
tagClass
- The tagClass to set.
-
getTransientAttributes
-
setTransientAttributes
-
addTransientAttribute
-
removeTransientAttribute
-
getTransientChildren
-
setTransientChildren
-
addTransientChild
-
removeTransientChild
-
isTransientChild
Is child transient, please don't save this.- Parameters:
classname
- The class name to check- Returns:
- is classname attribute?
-
isTransientAttribute
Is attribute transient, please don't save this.- Parameters:
attribute
- The attribute name to check- Returns:
- is transient attribute?
-
getId
-
setId
- Parameters:
id
- The id to set.
-
isAttributes
public boolean isAttributes()- Returns:
- Returns the attributes.
-
setAttributes
public void setAttributes(boolean attributes) - Parameters:
attributes
- The attributes to set.
-
isStoreSeparate
public boolean isStoreSeparate()- Returns:
- True if it's a separate store
-
setStoreSeparate
public void setStoreSeparate(boolean storeSeparate) -
isChildren
public boolean isChildren()- Returns:
- Returns the children.
-
setChildren
public void setChildren(boolean children) - Parameters:
children
- The children to set.
-