4.29. The MVEL Language
MVEL has some advantages over the basic default definition language. It lets you use objects from the bean context as the factory object and allows you to call factory methods with parameters. These parameters can be defined within the definition or they can be objects from the bean context. To use MVEL, use the alias
mvel
or set the factory.definition.parser.class
global parameter to org.milyn.javabean.factory.MVELFactoryDefinitionParser
.