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