summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/service
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-08-24 11:31:35 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-08-24 11:31:35 +0300
commitc8cee295021dcd33982217e3ad1c374bfca63a29 (patch)
treeee04063b2982bc772dcf2f3022c48d627eda096a /server/src/com/vaadin/service
parent7e3d95735858ba8726a7dc472a054ba279d7af21 (diff)
downloadvaadin-framework-c8cee295021dcd33982217e3ad1c374bfca63a29.tar.gz
vaadin-framework-c8cee295021dcd33982217e3ad1c374bfca63a29.zip
Add support for heartbeat not extending session (#9266)
Diffstat (limited to 'server/src/com/vaadin/service')
-rw-r--r--server/src/com/vaadin/service/ApplicationContext.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/com/vaadin/service/ApplicationContext.java b/server/src/com/vaadin/service/ApplicationContext.java
index c6116d6e73..55495dcd5c 100644
--- a/server/src/com/vaadin/service/ApplicationContext.java
+++ b/server/src/com/vaadin/service/ApplicationContext.java
@@ -80,6 +80,12 @@ public interface ApplicationContext extends Serializable {
public void removeTransactionListener(TransactionListener listener);
/**
+ * Returns the time between requests, in seconds, before this context is
+ * invalidated. A negative time indicates the context should never timeout.
+ */
+ public int getMaxInactiveInterval();
+
+ /**
* Generate a URL that can be used as the relative location of e.g. an
* {@link ApplicationResource}.
*