Author: johndament
Date: Fri Aug 8 14:29:40 2014
New Revision: 1616780
URL: http://svn.apache.org/r1616780
Log:
Minor naming consistency change.
Modified:
deltaspike/site/trunk/content/container-control.mdtext
Modified: deltaspike/site/trunk/content/container-control.mdtext
URL:
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/container-control.mdtext?rev=1616780&r1=1616779&r2=1616780&view=diff
==============================================================================
--- deltaspike/site/trunk/content/container-control.mdtext (original)
+++ deltaspike/site/trunk/content/container-control.mdtext Fri Aug 8 14:29:40
2014
@@ -115,9 +115,9 @@ The two main listeners are `CdiServletRe
The main usecase for this feature is for lightweight embedded runtimes,
microservices. For each of these, it is assumed that you are using the
following start up code somewhere:
:::java
- CdiContainer cdiContainer = CdiContainerLoader.getCdiContainer();
- cdiContainer.boot();
- cdiContainer.getContextControl().startContexts();
+ CdiContainer cdiContainer = CdiContainerLoader.getCdiContainer();
+ cdiContainer.boot();
+ cdiContainer.getContextControl().startContexts();
### Jetty
For Jetty, you need to add an `EventListener` which will be your
`CdiServletRequestListener`. The object must be instantiated. This must be
done before the server is started.