Annotation that is used for marking formal parameters and object fields in order to received the default space instance of a SARL context.
This annotation has the contract to be associated to: i) a formal parameter or an object field of type
OpenEventspace
and to the
@Inject
annotation, and ii) to be used only inside a subtype of
Space
.
When a formal parameter or a field is in a subtype of
Space
and it is injectable and marked with this annotation, the SARL run-time environment is supposed to inject the instance of the default space of the context in which the injected space is located.