[jboss-dev-forums] [Design of JCA on JBoss] - Re: JCA AOP-MC Integration
weston.price@jboss.com
do-not-reply at jboss.com
Fri Mar 2 16:28:31 EST 2007
Problems abound :-)
It's still the same issue a bean definition such as
| <beanfactory name="TraceAdvice" class="org.jboss.resource.aspect.TraceAdvice"/>
|
| <bean name="TraceAspect" class="org.jboss.aop.microcontainer.beans.Aspect">
| <property name="advice"><inject bean="TraceAdvice"/></property>
| <property name="manager"><inject bean="AspectManager"/></property>
| </bean>
|
Fails with:
anonymous wrote :
| JCABinding
| -> TraceAspect{Configured:**ERROR**}
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| TraceAspect -> java.lang.IllegalArgumentException: Wrong arguments. setManager for target org.jboss.aop.microcontainer.beans.Aspect at 56f691 expected=[org.jboss.aop.AspectManager] actual=[org.jboss.aop.deployers.AspectManagerJDK5]
|
Again, this is just a simple test to see if I can get something up and running. The ApectManger that the advice expects is obviously not the AspectManagerJDK5.
I looked at the changelog for the prototypes and nothing seemed to change. Can you give me an idea of what you modified?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024762#4024762
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024762
More information about the jboss-dev-forums
mailing list