Dashboard > Penrose > ... > Penrose 0.9.9 Penrose Server User Guide > Penrose 0.9.9 Interpreter
Penrose 0.9.9 Interpreter
Added by Endi S. Dewata, last edited by Endi S. Dewata on Jan 24, 2006
Labels: 
(None)


Penrose supports transforming data being read or written to sources using any scripting language. By default Penrose uses BeanShell scripting languange.

The scripting language can be configured in PENROSE_SERVER_HOME/conf/server.xml:

<interpreter>
  <interpreter-class>org.safehaus.penrose.interpreter.DefaultInterpreter</interpreter-class>
</interpreter>

In the current implementation Penrose only supports one type of interpreter.

You can use any scripting language by wrapping it in a class extending from Interpreter class. See Interpreter API Put jar file containing your class into PENROSE_HOME/lib, then replace the above configuration.

References

Site running on a free Atlassian Confluence Open Source Project License granted to Safehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators