[jboss-dev-forums] [Design of JCA on JBoss] - Re: Programmatic deployment--Redux
weston.price@jboss.com
do-not-reply at jboss.com
Mon Nov 27 16:45:11 EST 2006
Even using the ServiceTextValueMetaData, it's still not setting the attribute. Am I doing something wrong:
| ServiceAttributeMetaData cd = new ServiceAttributeMetaData();
| cd.setName("Version");
| cd.setValue(new ServiceTextValueMetaData(Integer.toString(10)));
| attributes.add(cd);
|
Doing this I would expect the attribute to be set prior to the call to startService(). This isn't happening. As a result, the attributes that I depend on being set aren't there and things blow up. Am I misunderstaning the purpose of the API?
The XSLDeployer has no problem with this of course.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989076#3989076
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989076
More information about the jboss-dev-forums
mailing list