incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lokahi Wiki] Update of "Templating Engine" by JeffFeist
Date Tue, 12 Feb 2008 18:14:08 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lokahi Wiki" for change notification.

The following page has been changed by JeffFeist:
http://wiki.apache.org/lokahi/Templating_Engine

New page:
== Creating a new Template Engine ==

 * Create a new class that implements Template Engine.java
 * This class needs to implement 2 methods
  * Collection<String> buildConfs(Object worker) {}
   * build all of the config files for a worker
  * String buildConf(Object[] params) {}
   * builds a specifc config file for a worker
 * Update conf/lokahi.properties to use the new class (lokahi.template.engine=org.apache.lokahi.<template
class>)
 * Update conf/lokahi.properties to give examples to users adding the templates (lokahi.template.variables=<example
here>)

Mime
View raw message