Hi,

The example
org.apache.deltaspike.example.beanmanagement.SimpleBeanLookupExample allows
to get a CDI container. It starts by invoking the following method
CdiContainerLoader.getCdiContainer() which will call --> the ServiceLoader (
ServiceLoader<CdiContainer> cdiContainerLoader =
ServiceLoader.load(CdiContainer.class);).

As there is no file into the directory META-INF/services and the project is
simply started with mvn -Pexamples, how the SimpleBeanLookupExample knows
which implementation (OWB, Weld) to be used.

Regards,

Charles 


--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/Question-about-JSE-example-tp4652732.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.

Reply via email to