|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.PoolConfigTypeImpl<T>
public class PoolConfigTypeImpl<T>
This class implements the pool-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 | |
---|---|
PoolConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
PoolConfigTypeImpl(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 |
getPoolMaxSize()
Returns the pool-max-size element |
java.lang.Integer |
getPoolTimeout()
Returns the pool-timeout element |
java.lang.String |
getPoolValue()
Returns the pool-value element |
PoolConfigType<T> |
removePoolMaxSize()
Removes the pool-max-size element |
PoolConfigType<T> |
removePoolTimeout()
Removes the pool-timeout element |
PoolConfigType<T> |
removePoolValue()
Removes the pool-value element |
PoolConfigType<T> |
setPoolMaxSize(java.lang.Integer poolMaxSize)
If not already created, a new pool-max-size element with the given value will be created. |
PoolConfigType<T> |
setPoolTimeout(java.lang.Integer poolTimeout)
If not already created, a new pool-timeout element with the given value will be created. |
PoolConfigType<T> |
setPoolValue(java.lang.String poolValue)
If not already created, a new pool-value 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 PoolConfigTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public PoolConfigTypeImpl(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 PoolConfigType<T> setPoolValue(java.lang.String poolValue)
pool-value
element with the given value will be created.
Otherwise, the existing pool-value
element will be updated with the given value.
setPoolValue
in interface PoolConfigType<T>
PoolConfigType
public PoolConfigType<T> removePoolValue()
pool-value
element
removePoolValue
in interface PoolConfigType<T>
PoolConfigType
public java.lang.String getPoolValue()
pool-value
element
getPoolValue
in interface PoolConfigType<T>
pool-value
public PoolConfigType<T> setPoolMaxSize(java.lang.Integer poolMaxSize)
pool-max-size
element with the given value will be created.
Otherwise, the existing pool-max-size
element will be updated with the given value.
setPoolMaxSize
in interface PoolConfigType<T>
PoolConfigType
public PoolConfigType<T> removePoolMaxSize()
pool-max-size
element
removePoolMaxSize
in interface PoolConfigType<T>
PoolConfigType
public java.lang.Integer getPoolMaxSize()
pool-max-size
element
getPoolMaxSize
in interface PoolConfigType<T>
pool-max-size
public PoolConfigType<T> setPoolTimeout(java.lang.Integer poolTimeout)
pool-timeout
element with the given value will be created.
Otherwise, the existing pool-timeout
element will be updated with the given value.
setPoolTimeout
in interface PoolConfigType<T>
PoolConfigType
public PoolConfigType<T> removePoolTimeout()
pool-timeout
element
removePoolTimeout
in interface PoolConfigType<T>
PoolConfigType
public java.lang.Integer getPoolTimeout()
pool-timeout
element
getPoolTimeout
in interface PoolConfigType<T>
pool-timeout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |