|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.CacheConfigTypeImpl<T>
public class CacheConfigTypeImpl<T>
This class implements the cache-configType xsd type
Original Documentation:
Element for specifying the class used to provide the caching mechanism for a bean,
and the cache parameters
| Constructor Summary | |
|---|---|
CacheConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
CacheConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
java.lang.Integer |
getCacheMaxSize()
Returns the cache-max-size element |
java.lang.String |
getCacheName()
Returns the cache-name element |
java.lang.String |
getCacheValue()
Returns the cache-value element |
java.lang.Integer |
getIdleTimeoutSeconds()
Returns the idle-timeout-seconds element |
java.lang.String |
getPersistenceManager()
Returns the persistence-manager element |
java.lang.Integer |
getRemoveTimeoutSeconds()
Returns the remove-timeout-seconds element |
java.lang.String |
getReplicationIsPassivation()
Returns the replication-is-passivation element |
CacheConfigType<T> |
removeCacheMaxSize()
Removes the cache-max-size element |
CacheConfigType<T> |
removeCacheName()
Removes the cache-name element |
CacheConfigType<T> |
removeCacheValue()
Removes the cache-value element |
CacheConfigType<T> |
removeIdleTimeoutSeconds()
Removes the idle-timeout-seconds element |
CacheConfigType<T> |
removePersistenceManager()
Removes the persistence-manager element |
CacheConfigType<T> |
removeRemoveTimeoutSeconds()
Removes the remove-timeout-seconds element |
CacheConfigType<T> |
removeReplicationIsPassivation()
Removes the replication-is-passivation element |
CacheConfigType<T> |
setCacheMaxSize(java.lang.Integer cacheMaxSize)
If not already created, a new cache-max-size element with the given value will be created. |
CacheConfigType<T> |
setCacheName(java.lang.String cacheName)
If not already created, a new cache-name element with the given value will be created. |
CacheConfigType<T> |
setCacheValue(java.lang.String cacheValue)
If not already created, a new cache-value element with the given value will be created. |
CacheConfigType<T> |
setIdleTimeoutSeconds(java.lang.Integer idleTimeoutSeconds)
If not already created, a new idle-timeout-seconds element with the given value will be created. |
CacheConfigType<T> |
setPersistenceManager(java.lang.String persistenceManager)
If not already created, a new persistence-manager element with the given value will be created. |
CacheConfigType<T> |
setRemoveTimeoutSeconds(java.lang.Integer removeTimeoutSeconds)
If not already created, a new remove-timeout-seconds element with the given value will be created. |
CacheConfigType<T> |
setReplicationIsPassivation(java.lang.String replicationIsPassivation)
If not already created, a new replication-is-passivation element with the given value will be created. |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public CacheConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public CacheConfigType<T> setCacheValue(java.lang.String cacheValue)
cache-value element with the given value will be created.
Otherwise, the existing cache-value element will be updated with the given value.
setCacheValue in interface CacheConfigType<T>CacheConfigTypepublic CacheConfigType<T> removeCacheValue()
cache-value element
removeCacheValue in interface CacheConfigType<T>CacheConfigTypepublic java.lang.String getCacheValue()
cache-value element
getCacheValue in interface CacheConfigType<T>cache-valuepublic CacheConfigType<T> setCacheMaxSize(java.lang.Integer cacheMaxSize)
cache-max-size element with the given value will be created.
Otherwise, the existing cache-max-size element will be updated with the given value.
setCacheMaxSize in interface CacheConfigType<T>CacheConfigTypepublic CacheConfigType<T> removeCacheMaxSize()
cache-max-size element
removeCacheMaxSize in interface CacheConfigType<T>CacheConfigTypepublic java.lang.Integer getCacheMaxSize()
cache-max-size element
getCacheMaxSize in interface CacheConfigType<T>cache-max-sizepublic CacheConfigType<T> setIdleTimeoutSeconds(java.lang.Integer idleTimeoutSeconds)
idle-timeout-seconds element with the given value will be created.
Otherwise, the existing idle-timeout-seconds element will be updated with the given value.
setIdleTimeoutSeconds in interface CacheConfigType<T>CacheConfigTypepublic CacheConfigType<T> removeIdleTimeoutSeconds()
idle-timeout-seconds element
removeIdleTimeoutSeconds in interface CacheConfigType<T>CacheConfigTypepublic java.lang.Integer getIdleTimeoutSeconds()
idle-timeout-seconds element
getIdleTimeoutSeconds in interface CacheConfigType<T>idle-timeout-secondspublic CacheConfigType<T> setRemoveTimeoutSeconds(java.lang.Integer removeTimeoutSeconds)
remove-timeout-seconds element with the given value will be created.
Otherwise, the existing remove-timeout-seconds element will be updated with the given value.
setRemoveTimeoutSeconds in interface CacheConfigType<T>CacheConfigTypepublic CacheConfigType<T> removeRemoveTimeoutSeconds()
remove-timeout-seconds element
removeRemoveTimeoutSeconds in interface CacheConfigType<T>CacheConfigTypepublic java.lang.Integer getRemoveTimeoutSeconds()
remove-timeout-seconds element
getRemoveTimeoutSeconds in interface CacheConfigType<T>remove-timeout-secondspublic CacheConfigType<T> setCacheName(java.lang.String cacheName)
cache-name element with the given value will be created.
Otherwise, the existing cache-name element will be updated with the given value.
setCacheName in interface CacheConfigType<T>CacheConfigTypepublic CacheConfigType<T> removeCacheName()
cache-name element
removeCacheName in interface CacheConfigType<T>CacheConfigTypepublic java.lang.String getCacheName()
cache-name element
getCacheName in interface CacheConfigType<T>cache-namepublic CacheConfigType<T> setPersistenceManager(java.lang.String persistenceManager)
persistence-manager element with the given value will be created.
Otherwise, the existing persistence-manager element will be updated with the given value.
setPersistenceManager in interface CacheConfigType<T>CacheConfigTypepublic CacheConfigType<T> removePersistenceManager()
persistence-manager element
removePersistenceManager in interface CacheConfigType<T>CacheConfigTypepublic java.lang.String getPersistenceManager()
persistence-manager element
getPersistenceManager in interface CacheConfigType<T>persistence-managerpublic CacheConfigType<T> setReplicationIsPassivation(java.lang.String replicationIsPassivation)
replication-is-passivation element with the given value will be created.
Otherwise, the existing replication-is-passivation element will be updated with the given value.
setReplicationIsPassivation in interface CacheConfigType<T>CacheConfigTypepublic CacheConfigType<T> removeReplicationIsPassivation()
replication-is-passivation element
removeReplicationIsPassivation in interface CacheConfigType<T>CacheConfigTypepublic java.lang.String getReplicationIsPassivation()
replication-is-passivation element
getReplicationIsPassivation in interface CacheConfigType<T>replication-is-passivation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||