Creating an Agent

Three abstract classes that you can use as the basis for your own agent are included in the Change Log Daemon distribution. The only difference between them is the form in which change log entries are supplied. Extending all three involves implementing the same four methods.

The available extension points are

com.escenic.changelog.AbstractAgent

This is the base implementation. See com.escenic.changelog.AbstractAgent for details

com.escenic.changelog.agent.XOMAgent

This implementation supplies change log entries as XOM element objects. See com.escenic.changelog.agent.XOMAgent for details

com.escenic.changelog.agent.JdomAgent

This implementation supplies change log entries as JDOM element objects. See com.escenic.changelog.agent.JdomAgent for details

We recommend extending one of these classes when implementing your own agent.