org.apache.tapestry5.ioc.annotations
Annotation Type UsesMappedConfiguration


@Target(value=TYPE)
@Retention(value=CLASS)
@Documented
@UseWith(value=SERVICE)
public @interface UsesMappedConfiguration

A documentation-only interface placed on service interfaces for services which have a mapped configuration, to identify the type of key (often, a String), and type ofcontribution.

Remember that when the key type is String, the map will be case-insensitive.


Required Element Summary
 Class value
          The type of object which may be contributed into the service's configuration.
 
Optional Element Summary
 Class key
          The type of key used to identify contribution values.
 

Element Detail

value

public abstract Class value
The type of object which may be contributed into the service's configuration.

key

public abstract Class key
The type of key used to identify contribution values.

Default:
java.lang.String.class


Copyright © 2003-2012 The Apache Software Foundation.