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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jan 29 00:27:57 EST 2007


Author: scott.stark at jboss.org
Date: 2007-01-29 00:27:57 -0500 (Mon, 29 Jan 2007)
New Revision: 60096

Modified:
   trunk/server/src/etc/conf/default/bootstrap-repo-beans.xml
Log:
Update the repo based profile service bootstrap.

Modified: trunk/server/src/etc/conf/default/bootstrap-repo-beans.xml
===================================================================
--- trunk/server/src/etc/conf/default/bootstrap-repo-beans.xml	2007-01-29 05:26:04 UTC (rev 60095)
+++ trunk/server/src/etc/conf/default/bootstrap-repo-beans.xml	2007-01-29 05:27:57 UTC (rev 60096)
@@ -33,7 +33,7 @@
         <property name="kernel"><inject bean="jboss.kernel:service=Kernel"/></property>
         <property name="serverImpl"><inject bean="JBossServer"/></property>
     </bean>
-
+    
     <!--
         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
@@ -44,13 +44,17 @@
             <parameter><![CDATA[
 	         <aop>
 			      <aspect name="mainDeployer" class="org.jboss.profileservice.aop.MainDeployerAspect"/>
-					   <bind pointcut="execution(* $instanceof{org.jboss.deployers.spi.deployment.MainDeployer}->process(..))">
+					<bind pointcut="execution(* $instanceof{org.jboss.deployers.spi.deployment.MainDeployer}->process(..))">
 				      <advice name="process" aspect="mainDeployer"/>
 				   </bind>
 					<aspect name="persist" class="org.jboss.profileservice.aop.PersistAspect"/>
 					<bind pointcut="execution(* $instanceof{org.jboss.managed.api.ManagedProperty}->setValue(..))">
 				      <advice name="setValue" aspect="persist"/>							         
 				   </bind>
+					<aspect name="deployers" class="org.jboss.profileservice.aop.DeployerAspects"/>
+					<bind pointcut="execution(* $instanceof{org.jboss.deployers.spi.deployer.Deployer}->*(..))">
+				      <advice name="invoke" aspect="deployers"/>							         
+				   </bind>
 				</aop>]]>
             </parameter>
         </constructor>
@@ -78,7 +82,31 @@
             <property name="instrumentor">org.jboss.aop.instrument.ClassicInstrumentor</property>
         -->
     </bean>
-
+    
+    <!--
+        <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
+        name="DeployerAspects"
+        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>
+        <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">




More information about the jboss-cvs-commits mailing list