[Design the new POJO MicroContainer] - Re: Generated Classes not found if they do not match any of
by kabir.khan@jboss.com
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
17 years, 1 month
[Design of JBoss Portal] - processAction method not implemented
by bjoernb
Hi,
i am trying to get a IPC-Portlet working in jboss portal 2.7.0 by using qnames.
Now i run into the following trouble when i want to use the annotation style
@ProcessEvent(qname="{http:sschmeckt.de/events}suchString")
public void processEvent1(EventRequest request, EventResponse response) throws PortletException, IOException {
...
}
i get the following error
javax.portlet.PortletException: processAction method not implemented
at javax.portlet.GenericPortlet.processAction(GenericPortlet.java:177)
when i it to change to
@Override
public void processAction(ActionRequest request, ActionResponse response)
throws PortletException, PortletSecurityException, IOException {
...
}
i get it working but the interportlet communication is not working !
what am i doing wrong ? can someone help ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216789#4216789
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216789
17 years, 1 month