[jboss-dev-forums] [Design of JCA on JBoss] - Re: Programmatic deployment--Redux

scott.stark@jboss.org do-not-reply at jboss.com
Mon Nov 27 16:10:55 EST 2006


They don't have to be of type ServiceDependencyValueMetaData. You can just set a text value:


  |    String value = ...;
  |    ServiceAttributeMetaData attribute = new ServiceAttributeMetaData();
  |     attribute.setName(attributeName);
  |     attribute.setReplace(replaceAttribute);
  |     attribute.setTrim(trim);
  |     attribute.setValue(value);
  |     attributes.add(attribute);
  | 


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

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



More information about the jboss-dev-forums mailing list