WildFly does not include support for OSGi, such functionality is now responsibility of JBoss OSGi project.
JBoss OSGi 2.5.0.Final will provide OSGi support for WildFly 10.
Release progress can be tracked via JBOSGI-786.