com.sun.grizzly.http.webxml.schema.version_3_0
Class SessionConfigType

java.lang.Object
  extended by com.sun.grizzly.http.webxml.schema.version_3_0.SessionConfigType

public class SessionConfigType
extends Object

The session-configType defines the session parameters for this web application. Used in: web-app

Java class for session-configType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="session-configType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="session-timeout" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType" minOccurs="0"/>
         <element name="cookie-config" type="{http://java.sun.com/xml/ns/javaee}cookie-configType" minOccurs="0"/>
         <element name="tracking-mode" type="{http://java.sun.com/xml/ns/javaee}tracking-modeType" maxOccurs="3" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  CookieConfigType cookieConfig
           
protected  String id
           
protected  XsdIntegerType sessionTimeout
           
protected  List<TrackingModeType> trackingMode
           
 
Constructor Summary
SessionConfigType()
           
 
Method Summary
 CookieConfigType getCookieConfig()
          Gets the value of the cookieConfig property.
 String getId()
          Gets the value of the id property.
 XsdIntegerType getSessionTimeout()
          Gets the value of the sessionTimeout property.
 List<TrackingModeType> getTrackingMode()
          Gets the value of the trackingMode property.
 void setCookieConfig(CookieConfigType value)
          Sets the value of the cookieConfig property.
 void setId(String value)
          Sets the value of the id property.
 void setSessionTimeout(XsdIntegerType value)
          Sets the value of the sessionTimeout property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionTimeout

protected XsdIntegerType sessionTimeout

cookieConfig

protected CookieConfigType cookieConfig

trackingMode

protected List<TrackingModeType> trackingMode

id

protected String id
Constructor Detail

SessionConfigType

public SessionConfigType()
Method Detail

getSessionTimeout

public XsdIntegerType getSessionTimeout()
Gets the value of the sessionTimeout property.

Returns:
possible object is XsdIntegerType

setSessionTimeout

public void setSessionTimeout(XsdIntegerType value)
Sets the value of the sessionTimeout property.

Parameters:
value - allowed object is XsdIntegerType

getCookieConfig

public CookieConfigType getCookieConfig()
Gets the value of the cookieConfig property.

Returns:
possible object is CookieConfigType

setCookieConfig

public void setCookieConfig(CookieConfigType value)
Sets the value of the cookieConfig property.

Parameters:
value - allowed object is CookieConfigType

getTrackingMode

public List<TrackingModeType> getTrackingMode()
Gets the value of the trackingMode property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the trackingMode property.

For example, to add a new item, do as follows:

    getTrackingMode().add(newItem);
 

Objects of the following type(s) are allowed in the list TrackingModeType


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012 Oracle Corporation. All Rights Reserved.