config.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="GB2312"?>
  2. <plugin name="WCM内容组件" version="1.0" id="wcm.content">
  3. <!--Config For ObjectLCMonitor BEGIN-->
  4. <!--
  5. Listener默认为监控对象的新增、修改、删除前
  6. EventType:
  7. 1:新增
  8. 2:修改
  9. 3:删除前
  10. 4、删除后
  11. 多个以逗号隔开
  12. -->
  13. <extension
  14. element-class="com.trs.infra.persistent.listener.MonitorHostConfig"
  15. id="components.wcm.content.ObjectLCMonitor">
  16. <!--栏目-->
  17. <monitor-host name="栏目"
  18. class-name="com.trs.components.wcm.content.persistent.Channel">
  19. <listener bean-id="FlowEmployerLCListener" event-type="3"/>
  20. <listener bean-id="ChannelLCListenerForFlow" event-type="2"/>
  21. </monitor-host>
  22. <!--文档-->
  23. <monitor-host name="文档"
  24. class-name="com.trs.components.wcm.content.persistent.Document">
  25. <listener bean-id="FlowContentLCListener" event-type="3"/>
  26. </monitor-host>
  27. <!--monitor-host name="文档假 删除"
  28. class-name="com.trs.components.wcm.content.persistent.ChnlDoc">
  29. <listener bean-id="ChnlDocLCListenerForFlow" event-type="2"/>
  30. </monitor-host-->
  31. </extension>
  32. <!--
  33. Listener默认为监控对象的新增、修改、删除前
  34. EventType:
  35. 1:新增
  36. 2:修改
  37. 3:删除前
  38. 4、删除后
  39. 多个以逗号隔开
  40. -->
  41. <extension element-class="com.trs.infra.persistent.listener.MonitorHostConfig"
  42. id="ObjectLCMonitor">
  43. <!-- Flowable -->
  44. <monitor-host name="Flowable"
  45. class-name="com.trs.cms.process.Flowable">
  46. <listener bean-id="FlowableLCListenerAfterModify" event-type="2" used-in-children="true" />
  47. <listener bean-id="FlowableLCListenerBeforeDelete" event-type="3" used-in-children="true" />
  48. </monitor-host>
  49. </extension>
  50. <!--Config For System Collocation BEGIN-->
  51. </plugin>