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


@Target(value={PARAMETER,FIELD})
@Retention(value=RUNTIME)
@Documented
@UseWith(value={COMPONENT,MIXIN,PAGE,SERVICE})
public @interface Symbol

Used to inject a symbol value, via a symbol name. This is used much like Value annotation, except that symbols are not expanded ... the entire value is a symbol name. This allows the annotation to reference a public constant variable.


Required Element Summary
 java.lang.String value
          The name of the symbol to inject.
 

Element Detail

value

public abstract java.lang.String value
The name of the symbol to inject.



Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.