[Design of JBossXB] - Re: JBoss XB on IBM VM
by kabir.khan@jboss.com
The output looks the same for IBM and Sun JDK:
SUN
| 11:48:24,761 TRACE [JBossXBBuilder] Checking property clazz for org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory type=java.lang.String
| 11:48:24,761 TRACE [JBossXBBuilder] Checking property clazz for org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory type=java.lang.String
| 11:48:24,761 TRACE [JBossXBBuilder] resolving type java.lang.String
| 11:48:24,761 TRACE [JBossXBBuilder] resolving type java.lang.String
| 11:48:24,761 TRACE [JBossXBBuilder] resolved type java.lang.String binding=org.jboss.xb.binding.sunday.unmarshalling.SimpleTypeBinding@feb2ea[{http://www.w3.org/2001/XMLSchema}string]
| 11:48:24,761 TRACE [JBossXBBuilder] resolved type java.lang.String binding=org.jboss.xb.binding.sunday.unmarshalling.SimpleTypeBinding@feb2ea[{http://www.w3.org/2001/XMLSchema}string]
| 11:48:24,761 TRACE [JBossXBBuilder] Bound attribute class type=org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory property=clazz propertyType=ReflectClassInfoImpl(a)945e31{name=java.lang.String}, normalizeSpace=false
| 11:48:24,761 TRACE [JBossXBBuilder] Bound attribute class type=org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory property=clazz propertyType=ReflectClassInfoImpl(a)945e31{name=java.lang.String}, normalizeSpace=false
| 11:48:24,761 TRACE [JBossXBBuilder] Ignore not element @XmlAttribute for type=org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory property=clazz
| 11:48:24,761 TRACE [JBossXBBuilder] Ignore not element @XmlAttribute for type=org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory property=clazz
|
IBM
| 12:01:04,604 TRACE [JBossXBBuilder] Checking property clazz for org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory type=java.lang.String
| 12:01:04,604 TRACE [JBossXBBuilder] Checking property clazz for org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory type=java.lang.String
| 12:01:04,604 TRACE [JBossXBBuilder] resolving type java.lang.String
| 12:01:04,604 TRACE [JBossXBBuilder] resolving type java.lang.String
| 12:01:04,604 TRACE [JBossXBBuilder] resolved type java.lang.String binding=org.jboss.xb.binding.sunday.unmarshalling.SimpleTypeBinding@78be78be[{http://www.w3.org/2001/XMLSchema}string]
| 12:01:04,604 TRACE [JBossXBBuilder] resolved type java.lang.String binding=org.jboss.xb.binding.sunday.unmarshalling.SimpleTypeBinding@78be78be[{http://www.w3.org/2001/XMLSchema}string]
| 12:01:04,605 TRACE [JBossXBBuilder] Bound attribute class type=org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory property=clazz propertyType=ReflectClassInfoImpl(a)2fac2fac{name=java.lang.String}, normalizeSpace=false
| 12:01:04,605 TRACE [JBossXBBuilder] Bound attribute class type=org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory property=clazz propertyType=ReflectClassInfoImpl(a)2fac2fac{name=java.lang.String}, normalizeSpace=false
| 12:01:04,605 TRACE [JBossXBBuilder] Ignore not element @XmlAttribute for type=org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory property=clazz
| 12:01:04,605 TRACE [JBossXBBuilder] Ignore not element @XmlAttribute for type=org.jboss.aop.microcontainer.beans.metadata.IntroductionBeanMetaDataFactory property=clazz
|
I am not sure if I am looking in the right place, so I'll zip up and send you the full output.
One thing that comes to mind might be that I am attempting to override how the class attribute is handled:
| @JBossXmlSchema(namespace="urn:jboss:aop-beans:1.0", elementFormDefault=XmlNsForm.QUALIFIED)
| @XmlRootElement(name="introduction")
| @XmlType(name="introductionType", propOrder={})
| public class IntroductionBeanMetaDataFactory extends AspectManagerAwareBeanMetaDataFactory
| implements BeanMetaDataFactory
| {
| ...
| @XmlAttribute(name="class")
| public void setClazz(String clazz)
| {
| this.clazz = clazz;
| }
| }
|
| public abstract class AspectManagerAwareBeanMetaDataFactory extends GenericBeanFactoryMetaData
| {
| ...
| }
|
| @XmlRootElement(name="beanfactory")
| @XmlType(name="beanfactoryType", propOrder={"aliases", "annotations", "classLoader", "constructor", "properties", "create", "start", "depends", "demands", "supplies", "installs", "uninstalls", "installCallbacks", "uninstallCallbacks"})
| public class GenericBeanFactoryMetaData extends JBossObject implements BeanMetaDataFactory, Serializable
| {
| ...
| @XmlAttribute(name="class")
| public void setBean(String bean)
| {
| this.bean = bean;
| }
| }
|
Although this works on Sun, maybe I should get rid of IBMDF.setClazz() and try to use the bean value from the super class instead?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239712#4239712
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239712
15 years, 6 months