com.vii.brillien.kernel.annotations
Annotation Type Inject


@Retention(value=RUNTIME)
@Target(value=FIELD)
@Inherited
public @interface Inject

Used to inject resources into Presences retrieved from Context sharings


Optional Element Summary
 boolean nullAllowed
          Tells whether this injection is allowed to have null value which means that the referred resource has to be available with a proper value
 String sharedName
          If the names of the shared resource and the field diverse, this value will be considered into account.
 

sharedName

public abstract String sharedName
If the names of the shared resource and the field diverse, this value will be considered into account.

Returns:
Default:
""

nullAllowed

public abstract boolean nullAllowed
Tells whether this injection is allowed to have null value which means that the referred resource has to be available with a proper value

Default:
true


Copyright © 2012. All Rights Reserved.