WildFly Modular Service Container Implementation Details

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

ServiceContainer

https://github.com/jboss-msc/jboss-msc/blob/master/src/main/java/org/jboss/msc/service/ServiceContainer.java
https://github.com/jboss-msc/jboss-msc/blob/master/src/main/java/org/jboss/msc/service/ServiceContainerImpl.java

Programmatic Access

TODO:

  • Can I get a hold of the container, programmatically? Use/extend the code linked above.
  • Document API.
  • Document Maven dependencies.
  • jboss-deployment-dependencies.
  • Document ServiceContainerHelper, and the fact that getting the value of a service starts it.
  • Document that the service needs to be started in order to getValue(), and if I get null for getValue(), the service is probably not started.