org.iqual.chaplin
Annotation Type DynaContext


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface DynaContext

This annotation associates a method with a context. The context is identified by the id. The id is a class or interface. If impl value is provided the context id is considered as an identifier only and the class value of impl is used for the context instantiation. Otherwise the id class is used. The instantiation can be controlled by the attr property. There can happen the following scenarios:

Since:
Mar 14, 2009 5:14:16 PM
Author:
Zbynek Slajchrt

Optional Element Summary
 ContextAttributes attr
           
 Class id
           
 Class impl
           
 String init
           
 

id

public abstract Class id
Default:
void.class

impl

public abstract Class impl
Default:
java.lang.Object.class

attr

public abstract ContextAttributes attr
Default:
Requires

init

public abstract String init
Default:
""


Copyright © 2009 iquality.org. All Rights Reserved.