[jboss-cvs] JBossAS SVN: r60366 - trunk/server/src/etc/conf/default.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 7 02:21:21 EST 2007


Author: scott.stark at jboss.org
Date: 2007-02-07 02:21:21 -0500 (Wed, 07 Feb 2007)
New Revision: 60366

Modified:
   trunk/server/src/etc/conf/default/bootstrap-repo-beans.xml
Log:
Add aop:lifecycle-configure for the profile service aspects

Modified: trunk/server/src/etc/conf/default/bootstrap-repo-beans.xml
===================================================================
--- trunk/server/src/etc/conf/default/bootstrap-repo-beans.xml	2007-02-07 07:19:22 UTC (rev 60365)
+++ trunk/server/src/etc/conf/default/bootstrap-repo-beans.xml	2007-02-07 07:21:21 UTC (rev 60366)
@@ -3,10 +3,10 @@
 <!--
     The bootstrap of the server. This should only have the minimum
     needed to bootstrap the mc kernel and profile service.
-    $Id:$
+    $Id$
 -->
 <deployment xmlns="urn:jboss:bean-deployer:2.0">
-
+    
     <!--
         Valid values for the AspectManager bean for use with enableTransformer=true are:
         * org.jboss.aop.deployers.AspectManagerJDK5 - works with the -javaagent:pluggable-instrumentor.jar switch
@@ -43,7 +43,7 @@
             is needed.  (i.e. Jboss cache in the default configuration -->
         <property name="suppressTransformationErrors">true</property>
         <property name="prune">true</property>
-        <property name="include">org.jboss.test., org.jboss.injbossaop.</property>
+        <property name="include">org.jboss.test., org.jboss.injbossaop., org.jboss.deployers.</property>
         <property name="exclude">org.jboss.</property>
         <!-- This avoids instrumentation of hibernate cglib enhanced proxies
             <property name="ignore">*$$EnhancerByCGLIB$$*</property> -->
@@ -56,7 +56,32 @@
             <property name="instrumentor">org.jboss.aop.instrument.ClassicInstrumentor</property>
         -->
     </bean>
-
+    
+    <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
+        name="Deployers"
+        class="org.jboss.profileservice.aop.DeployerAspects"
+        classes="org.jboss.deployers.spi.deployer.Deployer"
+        manager-bean="AspectManager"
+        manager-property="aspectManager"
+        pointcut="execution(* $instanceof{org.jboss.deployers.spi.deployer.Deployer}->*(..))">
+    </aop:lifecycle-configure>
+    <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
+        name="MainDeployerAspect"
+        class="org.jboss.profileservice.aop.MainDeployerAspect"
+        classes="org.jboss.deployers.spi.deployment.MainDeployer"
+        manager-bean="AspectManager"
+        manager-property="aspectManager"
+        pointcut="execution(* $instanceof{org.jboss.deployers.spi.deployment.MainDeployer}->process(..))">
+    </aop:lifecycle-configure>
+    <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
+        name="TrackingAdvice"
+        class="org.jboss.profileservice.aop.TrackingAdvice"
+        classes="org.jboss.deployers.spi.attachments.Attachments"
+        manager-bean="AspectManager"
+        manager-property="aspectManager"
+        pointcut="execution(* $instanceof{org.jboss.deployers.spi.attachments.Attachments}->addAttachment(..))">
+    </aop:lifecycle-configure>
+    
     <!-- The file repository profile service which provides full
         support ProfileService spi.
     -->
@@ -77,19 +102,19 @@
     <bean name="JavaSerializationAttachmentsSerializer" class="org.jboss.system.server.profileservice.repository.JavaSerializationAttachmentsSerializer">
         <property name="attachmentsStoreDir">${jboss.server.home.dir}/attachments</property>
     </bean>
-
+    
     <!-- The legacy JMX kernel -->
     <bean name="JMXKernel" class="org.jboss.system.server.jmx.JMXKernel">
         <property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>
         <property name="serverImpl"><inject bean="JBossServer"/></property>
     </bean>
-
-   <!-- MBean for making sure that the underlying AspectManagerService gets registered in JMX -->
-   <bean name="AspectManagerJMXRegistrar" class="org.jboss.aop.deployers.AspectManagerJMXRegistrar">
-      <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
-      <property name="aspectManager"><inject bean="AspectManager"/></property>
-   </bean>
-
+    
+    <!-- MBean for making sure that the underlying AspectManagerService gets registered in JMX -->
+    <bean name="AspectManagerJMXRegistrar" class="org.jboss.aop.deployers.AspectManagerJMXRegistrar">
+        <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
+        <property name="aspectManager"><inject bean="AspectManager"/></property>
+    </bean>
+    
     <!--
         <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
         name="DeployerAspects"
@@ -101,19 +126,19 @@
         </aop:lifecycle-configure>
         <beanfactory name="DeployersAdvice" class="org.jboss.profileservice.aop.DeployerAspects">
         </beanfactory>
-
+        
         <bean name="DeployersAspect" class="org.jboss.aop.microcontainer.beans.Aspect">
         <property name="advice"><inject bean="DeployersAdvice"/></property>
         <property name="manager"><inject bean="AspectManager" property="aspectManager"/></property>
         </bean>
-
+        
         <bean name="DeployersBinding" class="org.jboss.aop.microcontainer.beans.AspectBinding">
         <property name="pointcut">execution(* $instanceof{org.jboss.deployers.spi.deployer.Deployer}->*(..))</property>
         <property name="aspect"><inject bean="DeployersAspect" property="definition"/></property>
         <property name="manager"><inject bean="AspectManager" property="aspectManager" /></property>
         </bean>
     -->
-
+    
     <!-- The MainDeployer -->
     <bean name="MainDeployer" class="org.jboss.deployers.plugins.deployment.MainDeployerImpl">
         <property name="structureDeployers">
@@ -121,7 +146,7 @@
                 <!-- A declared structure descriptor deployer -->
                 <bean name="DeclaredStructure" class="org.jboss.deployers.plugins.structure.vfs.explicit.DeclaredStructure">
                 </bean>
-
+                
                 <!-- WAR Structure -->
                 <bean name="WARStructure" class="org.jboss.deployers.plugins.structure.vfs.war.WARStructure">
                     <property name="webInfLibFilter">
@@ -217,5 +242,5 @@
             </list>
         </property>
     </bean>
-
+    
 </deployment>


Property changes on: trunk/server/src/etc/conf/default/bootstrap-repo-beans.xml
___________________________________________________________________
Name: svn:keywords
   - Id, Revision
   + Id Revision




More information about the jboss-cvs-commits mailing list