mcardle     2005/08/18 17:40:40 CEST

  Added files:
    core/src/webapp/WEB-INF aop.xml 
  Log:
  AspectWerkz config file, used for ESI
  
  Revision  Changes    Path
  1.1       +89 -0     jahia/core/src/webapp/WEB-INF/aop.xml (new)
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/WEB-INF/aop.xml?rev=1.1&content-type=text/plain
  
  
  
  Index: aop.xml
  ====================================================================
  <!DOCTYPE aspectwerkz PUBLIC
      "-//AspectWerkz//DTD//EN"
      "http://aspectwerkz.codehaus.org/dtd/aspectwerkz2.dtd";>
  
  <aspectwerkz>
      <system id="webapp">
          <aspect class="org.jahia.aop.EsiJspContentDetectionAspect">
  
           <pointcut name="addContainerList_pc" >
           call(* *..JahiaContainerList+.*(..))
           AND ( within(org.apache.jsp.jsp.jahia.templates..*+)
           OR within(org.jahia.taglibs..*)
           OR within(org.jahia.deprecated.taglibs..*))
           AND !within(org.jahia.aop..*) AND !within( *..eventlistener_jsp)
           AND !within(org.apache.commons.betwixt..*) AND 
!within(org.jahia.utils.xml.betwixt..*) AND !within(org.apache.log4j..*) AND 
!within(org.apache.commons..*) AND !within(org.objectweb.asm..*)
           </pointcut>
  
          <pointcut name="addContainer_pc">
           call(* *..JahiaContainer+.*(..))
           AND (
                within(org.apache.jsp.jsp.jahia.templates..*+)
                OR within(org.jahia.taglibs..*)
                OR within(org.jahia.deprecated.taglibs..*))
           AND !within(org.jahia.aop..*) AND !within( *..eventlistener_jsp)
           AND !within(org.apache.commons.betwixt..*) AND 
!within(org.jahia.utils.xml.betwixt..*) AND !within(org.apache.log4j..*) AND 
!within(org.apache.commons..*) AND !within(org.objectweb.asm..*)
          </pointcut>
  
         <pointcut name="addField_pc">
           call(* *..JahiaField+.*(..))
           AND (
                within(org.apache.jsp.jsp.jahia.templates..*+)
                OR within(org.jahia.taglibs..*)
                OR within(org.jahia.deprecated.taglibs..*)
              )
           AND !within(org.jahia.aop..*) AND !within( *..eventlistener_jsp)
           AND !within(org.apache.commons.betwixt..*) AND 
!within(org.jahia.utils.xml.betwixt..*) AND !within(org.apache.log4j..*) AND 
!within(org.apache.commons..*) AND !within(org.objectweb.asm..*)
          </pointcut>
  
          <pointcut name="addPage_pc">
              call(* *..JahiaPage+.*(..))
              AND (
                 within(org.apache.jsp.jsp.jahia.templates.*)
                 OR within(org.jahia.taglibs..*)
                 OR within(org.jahia.deprecated.taglibs..*)
              )
              AND !within(org.jahia.aop..*) AND !within( *..eventlistener_jsp)
              AND !within(org.apache.commons.betwixt..*) AND 
!within(org.jahia.utils.xml.betwixt..*) AND !within(org.apache.log4j..*) AND 
!within(org.apache.commons..*) AND !within(org.objectweb.asm..*)
           </pointcut>
  
           <pointcut name="addContainerListSET_pc" >
           call(* 
org.jahia.data.containers.JahiaContainerSet.getContainerList(..) )
           OR
           call(* 
org.jahia.data.containers.JahiaContainerSet.getAbsoluteContainerList(..) )
           OR
           call(* 
org.jahia.data.containers.JahiaContainerSet.getRelativeContainerList(..) )
           AND (
             within(org.apache.jsp.jsp.jahia.templates..*+)
             OR within(org.jahia.taglibs..*)
             OR within(org.jahia.deprecated.taglibs..*)
             )
           AND !within(org.jahia.aop..*) AND !within( *..eventlistener_jsp)
           AND !within(org.apache.commons.betwixt..*) AND 
!within(org.jahia.utils.xml.betwixt..*) AND !within(org.apache.log4j..*) AND 
!within(org.apache.commons..*) AND !within(org.objectweb.asm..*)
           </pointcut>
  
           <pointcut name="addContainerSET_pc" >
           call(* org.jahia.data.containers.JahiaContainerSet.getContainer(..) )
           AND (
             within(org.apache.jsp.jsp.jahia.templates..*+)
             OR within(org.jahia.taglibs..*)
             OR within(org.jahia.deprecated.taglibs..*)
           )
           AND !within(org.jahia.aop..*) AND !within( *..eventlistener_jsp)
           AND !within(org.apache.commons.betwixt..*) AND 
!within(org.jahia.utils.xml.betwixt..*) AND !within(org.apache.log4j..*) AND 
!within(org.apache.commons..*) AND !within(org.objectweb.asm..*)
           </pointcut>
  
          <advice name="addContainerList" type="after" 
bind-to="addContainerList_pc"/>
          <advice name="addContainer" type="after" bind-to="addContainer_pc"/>
          <advice name="addField" type="after" bind-to="addField_pc"/>
          <advice name="addPage" type="after" bind-to="addPage_pc"/>
  
          <advice name="addContainerListSET(JoinPoint joinPoint, 
org.jahia.data.containers.JahiaContainerList returnValue)"
              type="after returning(returnValue)" 
bind-to="addContainerListSET_pc"/>
          <advice name="addContainerSET(JoinPoint joinPoint, 
org.jahia.data.containers.JahiaContainer returnValue)"
              type="after returning(returnValue)" bind-to="addContainerSET_pc"/>
  
          </aspect>
  
      </system>
  </aspectwerkz>
  

Reply via email to