[Design of JBoss Web Services] - JBWS-1922
by alessio.soldano@jboss.com
Hi Folks,
I'm working on the JBWS-1992 (http://jira.jboss.org/jira/browse/JBWS-1992). The issue description has 2 exceptions; the first one is not happening any more imho, the second one (Entry not found with name: WSEndpointRegistry) is caused by the WSEndpointRegistryDeploymentAspect missing a dependency on the WSEndpointRegistry bean.
In order for that deployment aspect to depend on this bean, this has to be moved from the stack config file (jbossws-native-config.xml for example) to the jbossws-deployer-beans.xml in the AS code base.
This however means the jbossws-jboss42 resources need to change too, since the stack conf file will not have the WSEndpointRegistry anymore.
Do you see any problem in changing the jboss42 integration resources now? And if this is ok, where is the jbossws-jboss42-config.xml in the AS42 code base? I can see it only in the 4.2.1 tag of our container integration.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136662#4136662
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136662
18 years
[Design the new POJO MicroContainer] - Re: Field injection
by adrian@jboss.org
"alesj" wrote : A first hurdle.
|
| How to get past this usage in PropertyDispatchWrapper (kernel module):
|
| | PropertyInfo propertyInfo = BeanInfoUtil.getPropertyInfo(beanInfo, target, name);
| | ValueMetaData valueMetaData = property.getValue();
| | Object value = valueMetaData.getValue(propertyInfo.getType(), cl);
| | beanInfo.setProperty(target, name, value);
| |
| Since I need the expected type of the value in order to convert it to the right type, e.g. string --> Date.
|
| But what if my bean is in FIELD or ALL mode, and there is no such property?
|
| Anything that comes to my mind in api extension to get the type by name from BeanInfo feels wrong. :-)
I don't understand.
So either you don't undetrstand or you haven't explained it very well. ;-)
You can't set a property unless it exists in the BeanInfo
| public class MyClass
| {
| private Date myDate;
| }
|
This should have a BeanInfo with one property which is a FieldPropertyInfo
i.e. instead of:
MethodInfo getter, setter;
it has
FieldInfo field; (there is no getter/setter)
propertyInfo.getType() -> field.getType(); // instead of the "return type"
propertyInfo.set() -> field.set(); // instead of a method invocation
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136650#4136650
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136650
18 years