WildFly Modular Service Container Implementation Details

From NovaOrdis Knowledge Base
Revision as of 04:54, 13 January 2017 by Ovidiu (talk | contribs) (→‎ServiceContainer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.