config.xml 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="GB2312"?>
  2. <plugin version="1.0" id="components.infoview.db">
  3. <!--Config For Server BEGIN-->
  4. <extension element-class="com.trs.infra.ServerConfig" id="Server">
  5. <server bean-id="InfoViewDBStoreServer" name="表单数据存储服务器" />
  6. </extension>
  7. <!--Config For Server END-->
  8. <!--Config For ObjectLCMonitor BEGIN-->
  9. <!--
  10. Listener默认为监控对象的新增、修改、删除前
  11. EventType:
  12. 1:新增
  13. 2:修改
  14. 3:删除前
  15. 4:删除后
  16. 5:修改后
  17. 多个以逗号隔开
  18. -->
  19. <extension
  20. element-class="com.trs.infra.persistent.listener.MonitorHostConfig"
  21. id="components.wcm.content.ObjectLCMonitor">
  22. <!--文档-->
  23. <monitor-host name="文档"
  24. class-name="com.trs.components.wcm.content.persistent.Document">
  25. <listener bean-id="DocumentLCListenerForInfoViewDB" event-type="-1,1,4,5"/>
  26. </monitor-host>
  27. <monitor-host name="栏目文档"
  28. class-name="com.trs.components.wcm.content.persistent.ChnlDoc">
  29. <listener bean-id="ChnlDocLCListenerForInfoViewDB" event-type="5"/>
  30. </monitor-host>
  31. </extension>
  32. </plugin>