de.smartics.properties.tutorial.onestringproperty
Interface ApplicationProperties

Package class diagram package ApplicationProperties

@PropertySet(value="app")
public interface ApplicationProperties

Defines simple application properties as an example.

The property set is named app. It contains a simple String property with name host. To define the host property, the name of the property set has to be set as a prefix.

app.host=value

If no value for the @PropertySet annotation is provided, the fully qualified name of the annotated interface is used as a default. If no prefix is requested, provide the empty string ("") as the value.


Method Summary
 String host()
           
 

Method Detail

host

String host()


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.