"adrian(a)jboss.org" wrote :
| The "depends optional attribute" only exists in the xml, it doesn't
exist
| in the ServiceMetaData model, so it's not the same as the examples I listed
| for the POJO stuff.
Its equivalent to creating an attribute with a ServiceDependencyValueMetaData as its
value.
| ServiceAttributeMetaData attr = new ServiceAttributeMetaData();
| attr.setName("TransactionManagerFactory");
| ServiceDependencyValueMetaData dependencyValue = new
ServiceDependencyValueMetaData();
| dependencyValue.setDependency(getTransactionManagerServiceName());
| dependencyValue.setProxyType("attribute");
| attr.setValue(dependencyValue);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131283#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...