|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeploymentConfiguration
Provide deployment specific settings that are required outside terminal specific code.
Method Summary | |
---|---|
String |
getApplicationOrSystemProperty(String propertyName,
String defaultValue)
Gets a configured property. |
ClassLoader |
getClassLoader()
Get the class loader to use for loading classes loaded by name, e.g. |
String |
getConfiguredTheme(WrappedRequest request)
Gets the theme that is configured for this deployment, e.g. |
String |
getConfiguredWidgetset(WrappedRequest request)
Gets the widgetset that is configured for this deployment, e.g. |
String |
getStaticFileLocation(WrappedRequest request)
Gets the base URL of the location of Vaadin's static files. |
boolean |
isStandalone(WrappedRequest request)
Checks whether the Vaadin application will be rendered on its own in the browser or whether it will be included into some other context. |
Method Detail |
---|
String getStaticFileLocation(WrappedRequest request)
request
- the request for which the location should be determined
String getConfiguredWidgetset(WrappedRequest request)
request
- the request for which a widgetset is required
String getConfiguredTheme(WrappedRequest request)
request
- the request for which a theme is required
boolean isStandalone(WrappedRequest request)
request
- the request for which the application is loaded
String getApplicationOrSystemProperty(String propertyName, 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
ClassLoader getClassLoader()
null
indicates that the default class
loader should be used.
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |