weld/subsystem/src/main/java/org/jboss/as/weld/deployment/BeanDeploymentModule.java
public synchronized <S extends Service> void addService(Class<S> clazz, S service) {
        for (BeanDeploymentArchiveImpl bda : beanDeploymentArchives) {
            bda.getServices().add(clazz,service);
        }
    }
public synchronized <S extends Service> void addService(Class<S> clazz, S service) {
        for (BeanDeploymentArchiveImpl bda : beanDeploymentArchives) {
            bda.getServices().add(clazz,service);
        }
    }
Adds a service to all bean deployment archives in the module
@param clazz The service type
@param service The service
@param <S> The service type