|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeploymentConfiguration
A collection of properties configured at deploy time as well as a way of accessing third party properties not explicitly supported by this class.
| Nested Class Summary | |
|---|---|
static class |
DeploymentConfiguration.LegacyProperyToStringMode
Deprecated. |
| Method Summary | |
|---|---|
java.lang.String |
getApplicationOrSystemProperty(java.lang.String propertyName,
java.lang.String defaultValue)
Gets a configured property. |
int |
getHeartbeatInterval()
Returns the number of seconds between heartbeat requests of a UI, or a non-positive number if heartbeat is disabled. |
java.util.Properties |
getInitParameters()
Gets the properties configured for the deployment, e.g. |
DeploymentConfiguration.LegacyProperyToStringMode |
getLegacyPropertyToStringMode()
Deprecated. |
com.vaadin.shared.communication.PushMode |
getPushMode()
Returns the mode of bidirectional ("push") client-server communication that should be used. |
int |
getResourceCacheTime()
Returns the time resources can be cached in the browsers, in seconds. |
boolean |
isCloseIdleSessions()
Returns whether a session should be closed when all its open UIs have been idle for longer than its configured maximum inactivity time. |
boolean |
isProductionMode()
Returns whether Vaadin is in production mode. |
boolean |
isSyncIdCheckEnabled()
Returns whether sync id checking is enabled. |
boolean |
isXsrfProtectionEnabled()
Returns whether cross-site request forgery protection is enabled. |
| Method Detail |
|---|
boolean isProductionMode()
boolean isXsrfProtectionEnabled()
boolean isSyncIdCheckEnabled()
true if sync id checking is enabled;
false otherwiseint getResourceCacheTime()
int getHeartbeatInterval()
boolean isCloseIdleSessions()
A UI is idle if it is open on the client side but has no activity other
than heartbeat requests. If isCloseIdleSessions() == false,
heartbeat requests cause the session to stay open for as long as there
are open UIs on the client side. If it is true, the session is
eventually closed if the open UIs do not have any user interaction.
WrappedSession.getMaxInactiveInterval()com.vaadin.shared.communication.PushMode getPushMode()
java.util.Properties getInitParameters()
java.lang.String getApplicationOrSystemProperty(java.lang.String propertyName,
java.lang.String defaultValue)
propertyName - The simple of the property, in some contexts, lookup might be
performed using variations of the provided name.defaultValue - the default value that should be used if no value has been
defined
@Deprecated DeploymentConfiguration.LegacyProperyToStringMode getLegacyPropertyToStringMode()
AbstractProperty#isLegacyToStringEnabled() for more information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||