What is it?
This project provides a CDI ("Contexts and Dependency Injection for the JavaTM EE platform", defined by JSR 299) portable extension, which allows to retrieve JSR 223 ("Scripting for the JavaTM Platform") script engines via dependency injection.
Just annotate any injection points of type
javax.script.ScriptEngine with one of the
@MimeType. The following shows an
engine shipping with Java 6) being injected into some managed bean, where it can be used
for arbitrary script evaluations: