config.xml 988 B

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="GB2312"?>
  2. <plugin version="1.0" id="components.region">
  3. <!--Config For ObjectLCMonitor BEGIN-->
  4. <!--
  5. Listener默认为监控对象的新增、修改、删除前
  6. EventType:
  7. 1:新增
  8. 2:修改
  9. 3:删除前
  10. 4:删除后
  11. 5:修改后
  12. 多个以逗号隔开
  13. -->
  14. <extension
  15. element-class="com.trs.infra.persistent.listener.MonitorHostConfig"
  16. id="components.wcm.content.ObjectLCMonitor">
  17. <!--文档-->
  18. <monitor-host name="文档"
  19. class-name="com.trs.components.wcm.content.persistent.Document">
  20. <listener bean-id="DocumentListenerForPublish" event-type="4"/>
  21. </monitor-host>
  22. <monitor-host name="栏目文档"
  23. class-name="com.trs.components.wcm.content.persistent.ChnlDoc">
  24. <listener bean-id="ChannelDocListenerForPublish" event-type="5"/>
  25. </monitor-host>
  26. <monitor-host name="栏目"
  27. class-name="com.trs.components.wcm.content.persistent.Channel">
  28. <listener bean-id="ChannelListenerForPublish" event-type="4,5"/>
  29. </monitor-host>
  30. </extension>
  31. </plugin>