[exo-jcr-commits] exo-jcr SVN: r2277 - in jcr/trunk: exo.jcr.component.statistics/src/main/resources/META-INF and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Apr 13 09:10:15 EDT 2010


Author: nfilotto
Date: 2010-04-13 09:10:14 -0400 (Tue, 13 Apr 2010)
New Revision: 2277

Modified:
   jcr/trunk/docs/reference/en/src/main/docbook/en-US/modules/jcr/statistics.xml
   jcr/trunk/exo.jcr.component.statistics/src/main/resources/META-INF/aop.xml
   jcr/trunk/exo.jcr.component.statistics/src/main/resources/conf/configuration.xml
Log:
EXOJCR-611: The interface org.exoplatform.services.jcr.core.ExtendedProperty has been replaced by javax.jcr.Property since it is never used

Modified: jcr/trunk/docs/reference/en/src/main/docbook/en-US/modules/jcr/statistics.xml
===================================================================
--- jcr/trunk/docs/reference/en/src/main/docbook/en-US/modules/jcr/statistics.xml	2010-04-13 09:35:42 UTC (rev 2276)
+++ jcr/trunk/docs/reference/en/src/main/docbook/en-US/modules/jcr/statistics.xml	2010-04-13 13:10:14 UTC (rev 2277)
@@ -214,7 +214,7 @@
     <para>In order to know exactly how your application uses eXo JCR, it cans
     be interesting to register all the JCR API accesses in order to easily
     create real life test scenario based on pure JCR calls and also to tune
-    your eXo JCR to better fit your requirements. </para>
+    your eXo JCR to better fit your requirements.</para>
 
     <para>In order to allow you to specify into the configuration which part
     of eXo JCR needs to be monitored whitout applying any changes in your code
@@ -250,11 +250,11 @@
 
     <para>By default, the configuration will collect statistcs on all the
     methods of the internal interfaces
-    <emphasis>org.exoplatform.services.jcr.core.ExtendedSession</emphasis>,
-    <emphasis>org.exoplatform.services.jcr.core.ExtendedNode</emphasis> and
-    <emphasis>org.exoplatform.services.jcr.core.ExtendedProperty</emphasis>.
-    To add and/or remove some interfaces to monitor, you have two
-    configuration files to change that are bundled into the jar
+    <emphasis>org.exoplatform.services.jcr.core.ExtendedSession</emphasis> and
+    <emphasis>org.exoplatform.services.jcr.core.ExtendedNode</emphasis>, and
+    the JCR API interface <emphasis>javax.jcr.Property</emphasis>. To add
+    and/or remove some interfaces to monitor, you have two configuration files
+    to change that are bundled into the jar
     <emphasis>exo.jcr.component.statistics-X.Y.Z</emphasis>.jar, which are
     <emphasis>conf/configuration.xml</emphasis> and
     <emphasis>META-INF/aop.xml</emphasis>.</para>
@@ -275,7 +275,7 @@
        &lt;name&gt;targetInterfaces&lt;/name&gt;
        &lt;value&gt;org.exoplatform.services.jcr.core.ExtendedSession&lt;/value&gt;
        &lt;value&gt;org.exoplatform.services.jcr.core.ExtendedNode&lt;/value&gt;
-       &lt;value&gt;org.exoplatform.services.jcr.core.ExtendedProperty&lt;/value&gt;
+       &lt;value&gt;javax.jcr.Property&lt;/value&gt;
      &lt;/values-param&gt;
    &lt;/init-params&gt;
   &lt;/component&gt;
@@ -287,17 +287,16 @@
     into the expression filter of the pointcut called
     <emphasis>JCRAPIPointcut</emphasis>. As you can see below, by default only
     JCR API calls from the exoplatform packages are took into account, don't
-    hesistate to modify also this filter to add your own package names.
-    </para>
+    hesistate to modify also this filter to add your own package names.</para>
 
     <programlisting>&lt;aspectj&gt;
   &lt;aspects&gt;
     &lt;concrete-aspect name="org.exoplatform.services.jcr.statistics.JCRAPIAspectImpl" extends="org.exoplatform.services.jcr.statistics.JCRAPIAspect"&gt;
       &lt;pointcut name="JCRAPIPointcut"
-        expression="(target(org.exoplatform.services.jcr.core.ExtendedSession) || target(org.exoplatform.services.jcr.core.ExtendedNode) || target(org.exoplatform.services.jcr.core.ExtendedProperty)) &amp;amp;&amp;amp; call(public * *(..))" /&gt;
+        expression="(target(org.exoplatform.services.jcr.core.ExtendedSession) || target(org.exoplatform.services.jcr.core.ExtendedNode) || target(javax.jcr.Property)) &amp;amp;&amp;amp; call(public * *(..))" /&gt;
     &lt;/concrete-aspect&gt;
   &lt;/aspects&gt;
-  &lt;weaver&gt;
+  &lt;weaver options="-XnoInline"&gt;
     &lt;include within="org.exoplatform..*" /&gt;
   &lt;/weaver&gt;
 &lt;/aspectj&gt; </programlisting>

Modified: jcr/trunk/exo.jcr.component.statistics/src/main/resources/META-INF/aop.xml
===================================================================
--- jcr/trunk/exo.jcr.component.statistics/src/main/resources/META-INF/aop.xml	2010-04-13 09:35:42 UTC (rev 2276)
+++ jcr/trunk/exo.jcr.component.statistics/src/main/resources/META-INF/aop.xml	2010-04-13 13:10:14 UTC (rev 2277)
@@ -3,10 +3,10 @@
 	<aspects>
 		<concrete-aspect name="org.exoplatform.services.jcr.statistics.JCRAPIAspectImpl" extends="org.exoplatform.services.jcr.statistics.JCRAPIAspect">
 			<pointcut name="JCRAPIPointcut"
-				expression="(target(org.exoplatform.services.jcr.core.ExtendedSession) || target(org.exoplatform.services.jcr.core.ExtendedNode) || target(org.exoplatform.services.jcr.core.ExtendedProperty)) &amp;&amp; call(public * *(..))" />
+				expression="(target(org.exoplatform.services.jcr.core.ExtendedSession) || target(org.exoplatform.services.jcr.core.ExtendedNode) || target(javax.jcr.Property)) &amp;&amp; call(public * *(..))" />
 		</concrete-aspect>
 	</aspects>
-	<weaver>
+	<weaver options="-XnoInline">
 		<include within="org.exoplatform..*" />
 	</weaver>
 </aspectj>
\ No newline at end of file

Modified: jcr/trunk/exo.jcr.component.statistics/src/main/resources/conf/configuration.xml
===================================================================
--- jcr/trunk/exo.jcr.component.statistics/src/main/resources/conf/configuration.xml	2010-04-13 09:35:42 UTC (rev 2276)
+++ jcr/trunk/exo.jcr.component.statistics/src/main/resources/conf/configuration.xml	2010-04-13 13:10:14 UTC (rev 2277)
@@ -17,7 +17,7 @@
 				<name>targetInterfaces</name>
 				<value>org.exoplatform.services.jcr.core.ExtendedSession</value>
 				<value>org.exoplatform.services.jcr.core.ExtendedNode</value>
-				<value>org.exoplatform.services.jcr.core.ExtendedProperty</value>
+				<value>javax.jcr.Property</value>
 			</values-param>
 		</init-params>
 	</component>



More information about the exo-jcr-commits mailing list