|
||||||||||
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.
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. |
int |
getResourceCacheTime()
Returns the time resources can be cached in the browsers, in seconds. |
boolean |
isIdleUICleanupEnabled()
Returns whether UIs that have no other activity than heartbeat requests should be removed from the session after they have been idle the maximum inactivity time enforced by the session. |
boolean |
isProductionMode()
Returns whether Vaadin is in production mode. |
boolean |
isXsrfProtectionEnabled()
Returns whether cross-site request forgery protection is enabled. |
Method Detail |
---|
boolean isProductionMode()
boolean isXsrfProtectionEnabled()
int getResourceCacheTime()
int getHeartbeatInterval()
boolean isIdleUICleanupEnabled()
WrappedSession.getMaxInactiveInterval()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |