[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Generated Classes not found if they do not match any of

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Mar 10 19:19:21 EDT 2009


My memory is a bit faint on this, but neither AbstractBeanMetaData

  |    @ManagementProperty(managed=true) // TODO - this ok? 
  |    @XmlElement(name="property", type=AbstractPropertyMetaData.class)
  |    public void setProperties(Set<PropertyMetaData> properties)
  | or AbstractPropertyMetaData
  | 
  |   |    @XmlElements
  |   |    ({
  |   |       @XmlElement(name="array", type=AbstractArrayMetaData.class),
  |   |       @XmlElement(name="collection", type=AbstractCollectionMetaData.class),
  |   |       @XmlElement(name="inject", type=AbstractInjectionValueMetaData.class),
  |   |       @XmlElement(name="search", type= AbstractSearchValueMetaData.class),
  |   |       @XmlElement(name="list", type=AbstractListMetaData.class),
  |   |       @XmlElement(name="map", type=AbstractMapMetaData.class),
  |   |       @XmlElement(name="set", type=AbstractSetMetaData.class),
  |   |       @XmlElement(name="null", type=AbstractValueMetaData.class),
  |   |       @XmlElement(name="this", type=ThisValueMetaData.class),
  |   |       @XmlElement(name="value", type=StringValueMetaData.class),
  |   |       @XmlElement(name="value-factory", type=AbstractValueFactoryMetaData.class)
  |   |    })
  |   |    public void setValue(ValueMetaData value)
  |   | 
  | seem to support @XmlAnyElement. I might be looking in the wrong place. AbstractPropertyMetaData does however have this, but I am unsure what it is for
  | 
  |   |    @XmlAnyElement
  |   |    @ManagementProperty(ignored = true)
  |   |    public void setValueObject(Object value)
  |   | 
  | 
  | I could bypass classloading:1.0 for doing this, but if it should/can be made to work I'd like to do so.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216798#4216798

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216798



More information about the jboss-dev-forums mailing list