[jboss-dev] {urn:jboss:aop-beans:1.0}lifecycle problems

Kabir Khan kabir.khan at jboss.com
Thu Jan 18 08:01:40 EST 2007


Yes, I did not want to change them in AS trunk until merging aop-mc-int.jar
in.

<aop:lifecycle/> has gone

and is replaced with 

<aop:lifecycle-configure/>
<aop:lifecycle-start/>
<aop:lifecycle-install/>
<aop:lifecycle-create/>
etc.

> -----Original Message-----
> From: jboss-development-bounces at lists.jboss.org 
> [mailto:jboss-development-bounces at lists.jboss.org] On Behalf 
> Of Scott M Stark
> Sent: 18 January 2007 10:29
> To: JBoss.org development list
> Subject: Re: [jboss-dev] {urn:jboss:aop-beans:1.0}lifecycle problems
> 
> I was able to get this working by changing the jmx declaration to:
> 
>    <!-- Add the JMX -->
>    <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
>                name="JMXAdvice"
> 
> class="org.jboss.aop.microcontainer.aspects.jmx.JMXIntroduction"
>                classes="@org.jboss.aop.microcontainer.aspects.jmx.JMX"
>                manager-bean="AspectManager"
>                manager-property="aspectManager"
>                pointcut="execution(*
> @org.jboss.aop.microcontainer.aspects.jmx.JMX->$implements{org
> .jboss.kernel.spi.dependency.KernelControllerContextAware}(..))">
>       <property name="mbeanServer"><inject bean="JMXKernel"
> property="mbeanServer"/></property>
>    </aop:lifecycle-configure>
> 
> I'm working on gettting trunk in synch with the latest mc 
> snapshot to get the profile service changes I have checked in.
> 
> Scott M Stark wrote:
> > I guess its because the aop descriptors are not in synch 
> with this change:
> > 
> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002348#40023
> > 48
> > 
> > Scott M Stark wrote:
> >> I can't get trunk to run with the current mc/aop snapshots due to 
> >> this error on startup. Where is {urn:jboss:aop-beans:1.0}lifecycle 
> >> element handler supposed to be coming from?
> >>
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
> 





More information about the jboss-development mailing list