|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for classes representing session configurations.
Method Summary | |
long |
getDefaultTimeout()
Gets the default timeout value for new sessions in milliseconds. |
ResourceEventDispatcher |
getDispatcher()
Gets the data service resource event dispatcher for events relating to sessions. |
long |
getMaxTimeout()
Gets the maximum timeout value for new sessions. |
Properties |
getResourceProperties()
Gets the resource properties that should be added to each new session created by the session manager. |
java.util.Set |
getStaticSessionAttributes()
Returns the set of static session attributes that should be added to every new session created by the session manager configured with this object. |
Method Detail |
public long getDefaultTimeout()
This is the number of milliseconds that a session will take to
timeout after its last participant has left. This must be less
than or equal to the value of getMaxTimeout()
.
long
value greater than zeropublic long getMaxTimeout()
long
or -1 if no
value is set.public java.util.Set getStaticSessionAttributes()
If there are no static session attributes then an empty set is returned.
SessionAttribute
objects where each instance has a unique name.public Properties getResourceProperties()
Properties
object.public ResourceEventDispatcher getDispatcher()
ResourceEventDispatcher
object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |