Modify with a given function
Modify with a given Partial function
Replace all values of type S with the same value
Replace the first value of type S (topdown, with another value
Replace with a given partial function
Replace all values of type S with the same value, returning None if nothing was replaced, or the rewritten graph otherwise.
Replace with a given strategy (breadth first)
Replace with a given strategy (top down)
Take the first value of a given type (approximated with a ClassTag) and replace it everywhere in the graph
Make singletons of all components, except the ones not accepted by the predicate
Make singletons of all components
Make singletons of all components, based on the class name of the component by default and on the class name + the result of the by function
start components from the bottom up
stop components from the top down we try to stop components even if previous components fail to stop
Functions for rewriting parts of an object graph representing services or configuration with different implementations.
This is used for "Dependency Injection" to replace some service implementations with other implementations.