-
Type: Sub-task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.7.3
-
Component/s: Seam / JSF UI
Unused interceptors are removed by configuration from inside nuxeo-ui-web using the component.xml config.
<core:init debug="false">
<core:interceptors>
<value>org.jboss.seam.core.SynchronizationInterceptor</value>
<value>org.jboss.seam.async.AsynchronousInterceptor</value>
<value>org.jboss.seam.ejb.RemoveInterceptor</value>
<value>org.jboss.seam.persistence.HibernateSessionProxyInterceptor</value>
<!-- <value>org.jboss.seam.persistence.EntityManagerProxyInterceptor</value> -->
<value>org.jboss.seam.core.MethodContextInterceptor</value>
<value>org.jboss.seam.core.EventInterceptor</value>
<value>org.jboss.seam.core.ConversationalInterceptor</value>
<!-- <value>org.jboss.seam.bpm.BusinessProcessInterceptor</value> -->
<value>org.jboss.seam.core.ConversationInterceptor</value>
<!-- NXP-5988: patch bijection interceptor -->
<!-- <value>org.jboss.seam.core.BijectionInterceptor</value> -->
<value>org.nuxeo.ecm.platform.ui.web.util.NuxeoExceptionInterceptor</value>
<value>org.nuxeo.ecm.platform.ui.web.util.NuxeoBijectionInterceptor</value>
<value>org.jboss.seam.transaction.RollbackInterceptor</value>
<value>org.jboss.seam.transaction.TransactionInterceptor</value>
<!-- <value>org.jboss.seam.webservice.WSSecurityInterceptor</value> -->
<!-- <value>org.jboss.seam.security.SecurityInterceptor</value> -->
</core:interceptors>
</core:init>
However, this could be better to do it directly in the code, this will remve warnings at startup time.