Adding custom spring beans to the dbWatch server

dbWatch provides some javabased hooks for customizing the behaviour of the dbwatch server. These hooks are injected into the server by the spring
framework.

Follow these steps to install custom classes into dbWatch server.

  • place the jar-file containing the desired class into the [install dir]/server/config directory to make the class available in the jvm.
  • create a spring xml with a name ending in ServerBeans.xml defining your bean and place it in the [install dir]/server/config directory.
  • restart the dbWatch server.

Adding custom spring beans to the dbWatch monitor

dbWatch provides some javabased hooks for customizing the behaviour of the dbwatch monitor. These hooks are injected into the monitor by the spring framework.

Follow these steps to install custom classes into dbWatch monitor.

  • place the jar-file containing the desired class into the [install dir]/monitor/config directory to make the class available in the jvm.
  • create a spring xml with a name ending in MonitorBeans.xml defining your bean and place it in the [install dir]/monitor/config directory.
  • restart the dbWatch monitor.

← dbWatch Logs / Auditing →

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment