de.smartics.properties.tutorial.property.expressions
Interface OverridingExpressionsProperties
-
@PropertySet(value="tutorial.property.override")
public interface OverridingExpressionsProperties
A sample property set for the PropertyExpressionsTutorial
it is identical to the ExpressionsProperties
, but in this setup we override the default expressions to show, that URL is composed of the current property values.
host
@PropertyExpression(value="localhost")
@PropertyLifecycle(access=READ_WRITE)
String host()
-
hostPropertyKey
de.smartics.properties.api.core.domain.PropertyKey hostPropertyKey()
-
port
@PropertyExpression(value="8080")
int port()
-
homePageUrl
@PropertyExpression(value="http://${tutorial.property.override.host}:${tutorial.property.override.port}/index.html")
URL homePageUrl()
-
Copyright © 2012-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.