|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.webcommon30.SessionConfigTypeImpl<T>
public class SessionConfigTypeImpl<T>
This class implements the session-configType xsd type
Original Documentation:
The session-configType defines the session parameters
for this web application.
Used in: web-app
| Constructor Summary | |
|---|---|
SessionConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
SessionConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
CookieConfigType<SessionConfigType<T>> |
cookieConfig()
If not already created, a new cookie-config element will be created and returned. |
java.lang.Integer |
getSessionTimeout()
Returns the session-timeout element |
TrackingModeType |
getTrackingMode()
Returns the tracking-mode element |
java.lang.String |
getTrackingModeAsString()
Returns the tracking-mode element |
SessionConfigType<T> |
removeCookieConfig()
Removes the cookie-config element |
SessionConfigType<T> |
removeSessionTimeout()
Removes the session-timeout element |
SessionConfigType<T> |
setSessionTimeout(java.lang.Integer sessionTimeout)
If not already created, a new session-timeout element with the given value will be created. |
SessionConfigType<T> |
setTrackingMode(java.lang.String trackingMode)
If not already created, a new tracking-mode element with the given value will be created. |
SessionConfigType<T> |
setTrackingMode(TrackingModeType trackingMode)
If not already created, a new tracking-mode 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 SessionConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public SessionConfigTypeImpl(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 SessionConfigType<T> setSessionTimeout(java.lang.Integer sessionTimeout)
session-timeout element with the given value will be created.
Otherwise, the existing session-timeout element will be updated with the given value.
setSessionTimeout in interface SessionConfigType<T>SessionConfigTypepublic SessionConfigType<T> removeSessionTimeout()
session-timeout element
removeSessionTimeout in interface SessionConfigType<T>SessionConfigTypepublic java.lang.Integer getSessionTimeout()
session-timeout element
getSessionTimeout in interface SessionConfigType<T>session-timeoutpublic SessionConfigType<T> removeCookieConfig()
cookie-config element
removeCookieConfig in interface SessionConfigType<T>SessionConfigTypepublic CookieConfigType<SessionConfigType<T>> cookieConfig()
cookie-config element will be created and returned.
Otherwise, the existing cookie-config element will be returned.
cookieConfig in interface SessionConfigType<T>cookie-configpublic SessionConfigType<T> setTrackingMode(TrackingModeType trackingMode)
tracking-mode element with the given value will be created.
Otherwise, the existing tracking-mode element will be updated with the given value.
setTrackingMode in interface SessionConfigType<T>SessionConfigTypepublic SessionConfigType<T> setTrackingMode(java.lang.String trackingMode)
tracking-mode element with the given value will be created.
Otherwise, the existing tracking-mode element will be updated with the given value.
setTrackingMode in interface SessionConfigType<T>SessionConfigTypepublic TrackingModeType getTrackingMode()
tracking-mode element
getTrackingMode in interface SessionConfigType<T>tracking-modepublic java.lang.String getTrackingModeAsString()
tracking-mode element
getTrackingModeAsString in interface SessionConfigType<T>tracking-mode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||