org.apache.tapestry5.annotations
Annotation Type Mixin


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

Defines an implementation mixin for a component.


Optional Element Summary
 String value
          Defines the type of mixin, using a logical mixin name.
 

value

public abstract String value
Defines the type of mixin, using a logical mixin name. This value takes precedence over the type of field (to which the annotation is attached). In such cases, it is presumed that the field's type is an interface implemented by the actual mixin. The default value (the empty string) directs Tapestry to use the field type as the mixin class to instantiate and attach to the component.

Default:
""


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.