org.iqual.chaplin
Annotation Type ToContext


@Target(value={FIELD,LOCAL_VARIABLE,METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface ToContext

This annotation marks a member in the context class as visible from methods running in the context.

Since:
Mar 15, 2009 8:18:20 PM
Author:
Zbynek Slajchrt

Optional Element Summary
 boolean master
           
 InvocationMode mode
           
 String name
           
 Class value
          Indicates the context (classifier) to which the member annotated with this annotation belongs to.
 

value

public abstract Class value
Indicates the context (classifier) to which the member annotated with this annotation belongs to. The default value (CompositeContextId.class) means that the classifier is not specified.

Returns:
the classifier
Default:
void.class

name

public abstract String name
Returns:
the name of the exposed (annotated) member in the context.
Default:
""

master

public abstract boolean master
Returns:
true if the bond member shields the composite members declared in components.
See Also:
IBinder
Default:
true

mode

public abstract InvocationMode mode
Returns:
the invocation mode of the context method
Default:
mixin


Copyright © 2009 iquality.org. All Rights Reserved.