Hi, I am new here, and we are using another Apache "product" (Syncope) that supports JEXL. We have a need to have a JEXL expression that calls our own method, and I was wondering (a) does JEXL support that capability, and (b) if so, how do we accomplish that?
Some background: Syncope supports using JEXL to provide what they call "derived attributes", i.e., where we can have a JEXL expression to construct an dynamically-constructed attribute from other attributes. However in our case, we have some custom Java methods (e.g., "extractField1()") to extract some information from an attribute, so we want to have a derived attribute that is constructed by a JEXPL expression, something like my_derived_attribute = incoming_attribute.extractField1() Is that something that JEXL supports? And, if so, what do we have to do to make that extractField1() method available to JEXL? Do we just put that method (actually we have several different methods) and make the class that the methods are in on the classpath? Thanks!! Jim --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
