interface

Named

extends Factory

All supertypes

All Subtypes

Something with a name. Named objects are injected into objects being configured in the following ways: a) Using set methods with a single argument. E.g. named object with name age can be injected into an object being configured using setAge(...) method. b) Using add methods. Add methods can be used for injection of multi-value configuration parameters. c) Using create methods. In this case named object must not have type definition and must not define a constructor. It is responsibility of the object being configured to create an instance, and then the configuration framework's responsibility is to inject configuration into that instance.

Attributes

Name Type Cardinality Description
name EString 1 Object name.
runtime EBoolean 1 If true (default), then this named object gets injected into owner object at runtime. Otherwise, it is used only at model transformation time and is not injected at runtime.

Operations summary

Name Cardinality Description
inject( injectionConfig : InjectionConfig ) 0..1 Injects this named into target object.

Operations

inject

Injects this named into target object.

Parameters

Throws