org.apache.wicket.spring.injection.annot
Annotation Type SpringBean


@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
public @interface SpringBean

Annotation used to tag a field as a placeholder for a spring bean.

Author:
Igor Vaynberg (ivaynberg)

Optional Element Summary
 java.lang.String name
          Optional attribute for specifying the name of the bean.
 

name

public abstract java.lang.String name
Optional attribute for specifying the name of the bean. If not specified, the bean will be looked up by the type of the field with the annotation.

Returns:
name attr
Default:
""


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.