Contributed by Jakob Jenkov
This appendix is about the Butterfly DI DSL called Butterfly Container Script (BCS). We include this appendix to illustrate the last of the four configuration mechanisms mentioned in chapter 2.
What we show here is far from a complete listing of the capabilities of Butterfly Container. Rather we show a few of Butterfly Container's solutions; these problems are also mentioned elsewhere in this book:
Contextual injection via input parameters
Reinjection via factory injection
This appendix also looks at a few features made possible by a DSL.
Butterfly Container is an open source project and is part of a growing collection of components ...