net.sf.easyweb4j.annotations
Annotation Type ContextAttribute


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface ContextAttribute

Indicates the field in controller to which a specific ServletContext attribute must be injected.

Author:
Chandra Sekar S

Required Element Summary
 String value
          The key of the ServletContext attribute to be injected.
 

Element Detail

value

public abstract String value
The key of the ServletContext attribute to be injected.

Returns:
The value of the context attribute.


Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.