I have found already how can I define dependencies:
in SubsystemAdd for example in method performBoottime(OperationContext context, .....)
context.getServiceTarget().addService([service-name], [service-instance]).addDependencies( [dependencies])
where dependencies is array of service names.
So what I am missing right now are service names for data sourceces, for jndi, hornet jms
Can anybody help me?
Thanks in advance.
If somebody really needs he will find. Same with me. I have found the very simple way to find out needed service names.
Just start jconsole find MBean jboss.as/service-container and execute dumpServices method. Thats it.