|Class||public class RuntimeContextBuilder|
buildmethod will very likely be rarely used as it is usually not recommended to determine all context objects at runtime. But the
mergemethod may be useful for adding individual existing instances to otherwise static configuration artifacts. This class may also be useful in UnitTests.
These static entry points only allow to add existing instances without specifying
an id or any further configuration, so only metadata will be processed.
For more options and more fine-grained control the
should be used directly and then added to a
For details see 3.5 Runtime Configuration in the Parsley Manual.
[static] Builds a Context that only contains the specified existing instances.
public static function build(instances:Array, viewRoot:DisplayObject = null):Context
Builds a Context that only contains the specified existing instances.
The returned Context instance may not be fully initialized if it requires asynchronous operations.
You can check its state with its