org.infinispan.config
Annotation Type ConfigurationProperty


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface ConfigurationProperty

Represents a property element from a valid Infinispan configuration file.

Each ConfigurationProperty should annotate the corresponding setter method in ancestor hierarchy of the appropriate AbstractConfigurationBean. Parameter of the corresponding setter should be either Properties or java.lang.String

Author:
Vladimir Blagojevic

Required Element Summary
 String name
          Returns name of this property.
 String parentElement
          Returns name of corresponding XML (ConfigurationElement) element that declares this property
 
Optional Element Summary
 String description
          Returns description of this property
 

Element Detail

parentElement

public abstract String parentElement
Returns name of corresponding XML (ConfigurationElement) element that declares this property

Returns:

name

public abstract String name
Returns name of this property. Should return the value of corresponding name attribute in XML element

Returns:

description

public abstract String description
Returns description of this property

Returns:
Default:
""

Google Analytics

Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.