My local instance interFaces(in my java war web application) is not injected from the "cdi-able (thejarwithbeansxml.jar)" (beans.xml) jar referenced by my jboss-deployment-structure.xml(link module).
See below configuration
theapp.ear
--- META-INF β jboss-deployment-structure.xml
--- ejb's bunch
--- a bunch of wars
--- webapp.war (see module configuration)
jboss-deployment-structure.xml object in (theapp.ear-> META-INF)
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.3">
<ear-subdeployments-isolated>false</ear-subdeployments-isolated>
<deployment>
<dependencies>
...
</deployment>
<sub-deployment name="webapp.war">
<dependencies>
<module name="com.mymoduletest1"
meta-inf="import"
services="import"
slot="main"
annotations="false"
export="true"
optional="false">
<imports>
<include-set>
<path name="META-INF"/>
<path name="META-INF/beans.xml"/>
<path name="META-INF/*"/>
</include-set>
</imports>
</module>
</sub-deployment>
</jboss-deployment-structure>
module.xml
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.3" name="com.mymoduletest1">
<resources>
<resource-root path="thejarwithbeansxml.jar"/>
</resources>
<dependencies>
<module name="someothermodule" export="true">
<imports>
<include path="META-INF"/>
</imports>
</module>
</dependencies>
</module>
webapp.war (deployed as part of the ear)
Has a class of web service Rest, where the injection is as follows;
//expecting to have subclasses ofIActionBaseinjected from module com.mymoduletest1.
@Inject
@Any
private Instance<IActionBase> interFaces;
Wildfly , , , Wildfly. ;

IActionBase, webapp.war, .
.
( webapp.war);
java.io.InputStream schemaIS = Class.forName("com.fluidattica.test.TestCrazy").getClassLoader().getResourceAsStream("META-INF/beans.xml");
int readVal = -1;
while((readVal = schemaIS.read()) > -1)
{
System.out.print((char)readVal);
}
( , beans.xml );
19:21:47,335 INFO [stdout] (default task-1) <?xml version="1.0" encoding="UTF-8"?>
19:21:47,337 INFO [stdout] (default task-1)
19:21:47,339 INFO [stdout] (default task-1)
19:21:47,342 INFO [stdout] (default task-1) <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19:21:47,342 INFO [stdout] (default task-1) xsi:schemaLocation="
19:21:47,344 INFO [stdout] (default task-1) http://java.sun.com/xml/ns/javaee
19:21:47,345 INFO [stdout] (default task-1) http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
19:21:47,345 INFO [stdout] (default task-1)
19:21:47,345 INFO [stdout] (default task-1) </beans>