org.infinispan.config
Annotation Type ConfigurationAttribute


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ConfigurationAttribute

Represents an attribute of any XML element from a valid Infinispan configuration file.

Each ConfigurationAttribute should annotate the corresponding setter method in ancestor hierarchy of the appropriate AbstractConfigurationBean.

ConfigurationAttribute should annotate the corresponding setter methods having one parameter that could be either any primitive or java.lang.String.

Author:
Vladimir Blagojevic

Required Element Summary
 String containingElement
          Returns name of corresponding XML (ConfigurationElement) element that declares this attribute
 String name
          Returns name of this attribute.
 
Optional Element Summary
 String[] allowedValues
          Returns an array of String values representing allowed values for this attribute
 String defaultValue
          Returns default value for this attribute
 String description
          Returns description of this attribute
 

Element Detail

containingElement

public abstract String containingElement
Returns name of corresponding XML (ConfigurationElement) element that declares this attribute

Returns:

name

public abstract String name
Returns name of this attribute. Should match the corresponding attribute in XML

Returns:

allowedValues

public abstract String[] allowedValues
Returns an array of String values representing allowed values for this attribute

Returns:
Default:
{}

defaultValue

public abstract String defaultValue
Returns default value for this attribute

Returns:
Default:
""

description

public abstract String description
Returns description of this attribute

Returns:
Default:
""

Google Analytics

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