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
 String entityName
          If the names of the shared resource/presence and the field diverse, this value will be considered into account.
 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
 

entityName

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

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.