org.jboss.shrinkwrap.descriptor.api.jboss51
Interface PoolConfigType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
PoolConfigTypeImpl

public interface PoolConfigType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for 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

Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

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.
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

setPoolValue

PoolConfigType<T> setPoolValue(java.lang.String poolValue)
If not already created, a new pool-value element with the given value will be created. Otherwise, the existing pool-value element will be updated with the given value.

Returns:
the current instance of PoolConfigType

removePoolValue

PoolConfigType<T> removePoolValue()
Removes the pool-value element

Returns:
the current instance of PoolConfigType

getPoolValue

java.lang.String getPoolValue()
Returns the pool-value element

Returns:
the node defined for the element pool-value

setPoolMaxSize

PoolConfigType<T> setPoolMaxSize(java.lang.Integer poolMaxSize)
If not already created, a new 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.

Returns:
the current instance of PoolConfigType

removePoolMaxSize

PoolConfigType<T> removePoolMaxSize()
Removes the pool-max-size element

Returns:
the current instance of PoolConfigType

getPoolMaxSize

java.lang.Integer getPoolMaxSize()
Returns the pool-max-size element

Returns:
the node defined for the element pool-max-size

setPoolTimeout

PoolConfigType<T> setPoolTimeout(java.lang.Integer poolTimeout)
If not already created, a new pool-timeout element with the given value will be created. Otherwise, the existing pool-timeout element will be updated with the given value.

Returns:
the current instance of PoolConfigType

removePoolTimeout

PoolConfigType<T> removePoolTimeout()
Removes the pool-timeout element

Returns:
the current instance of PoolConfigType

getPoolTimeout

java.lang.Integer getPoolTimeout()
Returns the pool-timeout element

Returns:
the node defined for the element pool-timeout