[jboss-user] [jBPM] - How to add your own EL Resolver
HuiSheng Xu
do-not-reply at jboss.com
Thu Jun 24 20:52:24 EDT 2010
HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion
"How to add your own EL Resolver"
To view the discussion, visit: http://community.jboss.org/message/549594#549594
--------------------------------------------------------------
Hi Jochen,
Now, there is no extension entry for doing that. if you want to add an addition elResovler, you have to re-write org.jbpm.pvm.internal.script.JuelScriptEngine. There is a method named makeResovler().
private ELResolver makeResolver()
{
CompositeELResolver chain = new CompositeELResolver();
chain.add(new ArrayELResolver());
chain.add(new ListELResolver());
chain.add(new MapELResolver());
chain.add(new ResourceBundleELResolver());
chain.add(new BeanELResolver());
return new SimpleResolver(chain);
}
Add whatever you want to.
Good Luck.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/549594#549594]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100624/52b1fd05/attachment.html
More information about the jboss-user
mailing list