de.smartics.properties.tutorial.property
Interface ApplicationProperties


@PropertySet(value="tutorial.property")
public interface ApplicationProperties

A sample property set for the PropertyTutorial.


Method Summary
 String host()
          Returns the name of the host.
 de.smartics.properties.api.core.domain.PropertyDescriptor hostPropertyDescriptor()
          Returns the property descriptor for the #host() property.
 URL serverUrl()
          Returns a server URL.
 

Method Detail

host

String host()
Returns the name of the host. This name is used to construct URLs by adding a protocol, an optional port and request path. It is allowed to set an IP address as specified in RFC 2396.

Returns:
the name of the host.

hostPropertyDescriptor

de.smartics.properties.api.core.domain.PropertyDescriptor hostPropertyDescriptor()
Returns the property descriptor for the #host() property.

Returns:
the property descriptor for the #host() property.

serverUrl

URL serverUrl()
Returns a server URL.

Returns:
a server URL.


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