SUMMARY: This documents usage of ServiceBuilder in WildFly [Core] where code is accepting an SB as a method param and therefore may be vulnerable to MSC-240 (SB impl only actually supports a subset of its API.). Report is derived from pastes of several Intellij IDEA usage reports. Usage report aspects that are not relevant have been trimmed to a summary line. The key focus is on "Method parameter declaration". I also show "Usage in extends/implements clause" as subclasses are other types to research. If an entry was a simple non-problem when I reviewed it I simply eliminated its details and just left the class name. The remaining items have some kind of notation to their left. Notation key is as follows. Of all of these only CRITICAL requires immediate fix; the others are informational, e.g. to help guide further efforts to harden code or move to use of the new MSC API. CRITICAL -- Code can take an SB from a variety of sources and invokes methods on it that will fail if the SB is of the wrong impl. Highly likely that code will attempt to pass in different SB impls. Must be fixed. MINOR PUBLIC -- Method is in theory vulnerable to MSC-240 as the method is public but in reality the likelihood of a caller using the method and passing in the 'wrong' SB impl type is very low. (Public method isn't really meant for 'foreign' use and is unlikely to have been misused.) I only bothered noting this in WildFly Core, before stopping as a waste of effort. There is there's a slightly higher possibility of misuse of core methods than there is of subsystems misusing obscure code from other subsystems. @Resource VALUE -- Implementation of the 'InjectionSource' abstract class used as an SPI for subsystems to support different types behind an EE Resource injection. Only legacy SB impls are passed in, so as long as no impl decides to use the new MSC API all should be well. But this is a long term vulnerability, and all these methods prevent moving to passing in SBs created using the new API. I did no analysis as to whether impls are attempting to use the new MSC API. DependencyConfigurator -- Implementation of the 'DependencyConfigurator' interface used as an SPI for subsystems to add dependency wiring to EE component services. Only legacy SB impls are passed in, so as long as no impl decides to use the new MSC API all should be well. But this is a long term vulnerability, and all these methods prevent moving to passing in SBs created using the new API. This is a much less widely implemented SPI than 'InjectionSource', largely limited to ee an ejb3 subsystems. ComponentIntegrator -- Implementation of the 'ComponentIntegrator' interface SPI Weld provides. Only legacy SB impls are passed in, so as long as no impl decides to use the new MSC API all should be well. But this is a long term vulnerability, and all these methods prevent moving to passing in SBs created using the new API. This is a much less widely implemented SPI than 'InjectionSource', limited to weld and ejb3 subsystems. CLUS_SVC_LEG_OK -- Related to clustering service wiring abstractions. Only suitable for use with legacy SB impls but analysis shows no invalid use. The clustering abstractions are clearly designed to attempt to deal with MSC-240. Basically these aren't a problem and this notation is a form of documentation of my analysis. CLUS_SVC_NEW_OK -- Related to clustering service wiring abstractions. Only suitable for use with SB impls creating using the new MSC API, but analysis shows no invalid use. The clustering abstractions are clearly designed to attempt to deal with MSC-240. Basically these aren't a problem and this notation is a form of documentation of my analysis. The analysis details: WildFly Core: Interface ServiceBuilder Found usages (209 usages found) Production (209 usages found) Field declaration (1 usage found) Local variable declaration (80 usages found) Method parameter declaration (94 usages found) wildfly-controller (8 usages found) org.jboss.as.controller (7 usages found) org.jboss.as.controller.security (1 usage found) CredentialReference (1 usage found) CRITICAL getCredentialSourceSupplier(OperationContext, ObjectTypeAttributeDefinition, ModelNode, ServiceBuilder) (1 usage found) 295 ServiceBuilder wildfly-domain-management (28 usages found) org.jboss.as.domain.management (2 usages found) CallbackHandlerFactory.ServiceUtil (1 usage found) MINOR PUBLIC addDependency(ServiceBuilder, Injector, ServiceName) (1 usage found) 51 public static ServiceBuilder addDependency(ServiceBuilder sb, Injector injector, ServiceName serviceName) { SecurityRealm.ServiceUtil (1 usage found) CRITICAL addDependency(ServiceBuilder, Injector, String) (1 usage found) 137 public static ServiceBuilder addDependency(ServiceBuilder sb, Injector injector, String realmName) { org.jboss.as.domain.management.connections.ldap (1 usage found) LdapConnectionManagerService.ServiceUtil (1 usage found) MINOR PUBLIC addDependency(ServiceBuilder, Injector, String) (1 usage found) 350 public static ServiceBuilder addDependency(ServiceBuilder sb, Injector injector, String connectionName) { org.jboss.as.domain.management.security (25 usages found) AbstractKeyManagerService.ServiceUtil (1 usage found) AbstractTrustManagerService.ServiceUtil (1 usage found) CallbackHandlerService.ServiceUtil (1 usage found) MINOR PUBLIC addDependency(ServiceBuilder, Injector, ServiceName) (1 usage found) 113 public static ServiceBuilder addDependency(ServiceBuilder sb, Injector injector, ServiceName serviceName) { KeytabIdentityFactoryService.ServiceUtil (1 usage found) KeytabService.ServiceUtil (1 usage found) MINOR PUBLIC addDependency(ServiceBuilder, Injector, String, String) (1 usage found) 257 public static ServiceBuilder addDependency(ServiceBuilder sb, Injector injector, LdapSearcherCache.ServiceUtil (1 usage found) PlugInLoaderService.ServiceUtil (1 usage found) MINOR PUBLIC addDependency(ServiceBuilder, InjectedValue, String) (1 usage found) 179 public static ServiceBuilder addDependency(ServiceBuilder sb, InjectedValue injector, String realmName) { SecurityRealmAddHandler (16 usages found) SSLContextService.ServiceUtil (1 usage found) MINOR PUBLIC addDependency(ServiceBuilder, Injector, ServiceName, boolean) (1 usage found) 194 public static ServiceBuilder addDependency(final ServiceBuilder sb, final Injector injector, final ServiceName parentService, final boolean trustOnly) { SubjectSupplementalService.ServiceUtil (1 usage found) MINOR PUBLIC addDependency(ServiceBuilder, Injector, ServiceName) (1 usage found) 66 public static ServiceBuilder addDependency(ServiceBuilder sb, Injector injector, ServiceName serviceName) { wildfly-elytron-integration (54 usages found) org.wildfly.extension.elytron (54 usages found) AggregateRealmDefinition.RealmAddHandler (1 usage found) AuditResourceDefinitions (4 usages found) AuthenticationClientDefinitions (3 usages found) AuthenticationFactoryDefinitions (6 usages found) CachingRealmDefinition.RealmAddHandler (1 usage found) Capabilities (1 usage found) DomainDefinition (3 usages found) ElytronDefinition (4 usages found) HttpServerDefinitions (3 usages found) KerberosSecurityFactoryDefinition (1 usage found) LdapRealmDefinition.RealmAddHandler (1 usage found) PermissionMapperDefinitions (3 usages found) PermissionSetDefinition (1 usage found) PolicyDefinitions (2 usages found) PrincipalDecoderDefinitions (3 usages found) PrincipalDecoderDefinitions.PrincipalDecoderAddHandler (1 usage found) PrincipalTransformerDefinitions (3 usages found) PropertiesRealmDefinition (1 usage found) ProviderDefinitions (1 usage found) RealmDefinitions (1 usage RealmMapperDefinitions (1 usage found) ServiceUtil (2 usages found) SSLDefinitions (6 usages found) TrivialAddHandler (1 usage found) wildfly-remoting (1 usage found) org.jboss.as.remoting (1 usage found) RemotingServices (1 usage found) wildfly-server (3 usages found) org.jboss.as.server (1 usage found) Services (1 usage found) CRITICAL addServerExecutorDependency(ServiceBuilder, Injector) (1 usage found) 80 public static ServiceBuilder addServerExecutorDependency(ServiceBuilder builder, Injector injector) { org.jboss.as.server.deployment (2 usages found) DeploymentPhaseContextImpl.InjectorDeploymentPhaseDependency (1 usage found) CRITICAL register(ServiceBuilder) (1 usage found) 98 public void register(ServiceBuilder builder) { DeploymentUnitPhaseDependency (1 usage found) CRITICAL register(ServiceBuilder) (1 usage found) 37 void register(ServiceBuilder builder); Method return type (28 usages found) Type parameter (3 usages found) Usage in comments (2 usages found) Usage in extends/implements clause (1 usage found) wildfly-controller (1 usage found) org.jboss.as.controller (1 usage found) CapabilityServiceBuilder (1 usage found) Interface CapabilityServiceBuilder Found usages (22 usages found) Production (22 usages found) Local variable declaration (5 usages found) Method return type (15 usages found) Usage in comments (1 usage found) Usage in extends/implements clause (1 usage found) wildfly-controller (1 usage found) org.jboss.as.controller (1 usage found) OperationContextImpl.CapabilityServiceBuilderImpl (1 usage found) ================ WildFly Interface ServiceBuilder Found usages (499 usages found) Production (499 usages found) Field declaration (3 usages found) Local variable declaration (228 usages found) Method parameter declaration (133 usages found) wildfly-bean-validation (2 usages found) org.jboss.as.ee.beanvalidation (2 usages found) BeanValidationFactoryResourceReferenceProcessor.ValidatorFactoryInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 62 ServiceBuilder BeanValidationResourceReferenceProcessor.ValidatorInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 60 ServiceBuilder wildfly-clustering-common (1 usage found) org.jboss.as.clustering.controller (1 usage found) CLUS_SVC_NEW_OK CredentialSourceDependency (1 usage found) wildfly-clustering-infinispan-extension (14 usages found) wildfly-clustering-jgroups-extension (10 usages found) wildfly-clustering-server (4 usages found) org.wildfly.clustering.server.registry (2 usages found) CacheRegistryFactoryServiceConfigurator (1 usage found) LocalRegistryFactoryServiceConfigurator (1 usage found) register(ServiceBuilder) (1 usage found) 68 public ServiceBuilder register(ServiceBuilder builder) { org.wildfly.clustering.server.singleton (2 usages found) DistributedSingletonServiceConfigurator.DistributedSingletonServiceBuilder (1 usage found) LocalSingletonServiceConfigurator.LocalSingletonServiceBuilder (1 usage found) wildfly-clustering-service (9 usages found) org.wildfly.clustering.service (9 usages found) AsyncServiceConfigurator.AsyncServiceBuilder (1 usage found) CompositeDependency (1 usage found) Dependency (1 usage found) ImmediateValueDependency (1 usage found) InjectorDependency (1 usage found) CLUS_SVC_LEG_OK register(ServiceBuilder) (1 usage found) 51 public ServiceBuilder register(ServiceBuilder builder) { CLUS_SVC_NEW_OK ServiceDependency (1 usage found) register(ServiceBuilder) (1 usage found) 43 public ServiceBuilder register(ServiceBuilder builder) { CLUS_SVC_NEW_OK ServiceSupplierDependency (1 usage found) register(ServiceBuilder) (1 usage found) 52 public ServiceBuilder register(ServiceBuilder builder) { CLUS_SVC_LEG_OK SimpleDependency (1 usage found) register(ServiceBuilder) (1 usage found) 41 public ServiceBuilder register(ServiceBuilder builder) { SimpleSupplierDependency (1 usage found) wildfly-connector (7 usages found) org.jboss.as.connector.deployers.datasource (2 usages found) DataSourceDefinitionInjectionSource (2 usages found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 131 ServiceBuilder startDataSource(AbstractDataSourceService, BindInfo, EEModuleDescription, ResolutionContext, ServiceTarget, ServiceBuilder, Injector) (1 usage found) @Resource VALUE 218 final ServiceBuilder valueSourceServiceBuilder, final Injector injector) { org.jboss.as.connector.deployers.ra (2 usages found) AdministeredObjectDefinitionInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 76 ServiceBuilder ConnectionFactoryDefinitionInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 82 ServiceBuilder org.jboss.as.connector.subsystems.datasources (3 usages found) AbstractDataSourceAdd (1 usage found) DataSourceAdd (1 usage found) XaDataSourceAdd (1 usage found) wildfly-datasources-agroal (2 usages found) org.wildfly.extension.datasources.agroal (1 usage found) AbstractDataSourceOperations (1 usage found) org.wildfly.extension.datasources.agroal.deployment (1 usage found) DataSourceDefinitionInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 156 ServiceBuilder wildfly-ee (14 usages found) org.jboss.as.ee.component (11 usages found) ComponentDescription.InjectedConfigurator (1 usage found) configureDependency(ServiceBuilder, ComponentStartService) (1 usage found) DependencyConfigurator 540 public void configureDependency(final ServiceBuilder serviceBuilder, ComponentStartService service) throws DeploymentUnitProcessingException { ComponentTypeInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 51 ServiceBuilder DefaultComponentViewConfigurator (1 usage found) configure(DeploymentPhaseContext, ComponentDescription, ComponentConfiguration) (1 usage found) DependencyConfigurator 96 public void configureDependency(final ServiceBuilder serviceBuilder, ComponentStartService service) { DependencyConfigurator (1 usage found) configureDependency(ServiceBuilder, T) (1 usage found) DependencyConfigurator 43 void configureDependency(ServiceBuilder serviceBuilder, final T service) throws DeploymentUnitProcessingException; EnvEntryInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 50 ServiceBuilder FixedInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 53 ServiceBuilder InjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 48 ServiceBuilder LookupInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 80 ServiceBuilder NamespaceConfigurator (1 usage found) configure(DeploymentPhaseContext, ComponentDescription, ComponentConfiguration) (1 usage found) DependencyConfigurator 63 public void configureDependency(final ServiceBuilder serviceBuilder, ComponentStartService service) { ServiceInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 52 public void getResourceValue(final ResolutionContext context, final ServiceBuilder serviceBuilder, final DeploymentPhaseContext phaseContext, final Injector injector) { ViewBindingInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 43 ServiceBuilder org.jboss.as.ee.component.deployers (2 usages found) ComponentInstallProcessor (1 usage found) MessageDestinationInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 58 ServiceBuilder org.jboss.as.ee.naming (1 usage found) ContextInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 54 ServiceBuilder wildfly-ejb3 (30 usages found) org.jboss.as.ejb3.component (7 usages found) EJBComponentDescription (6 usages found) EJBComponentDescription(String, String, EjbJarDescription, ServiceName, EnterpriseBeanMetaData) (2 usages found) DependencyConfigurator 362 public void configureDependency(final ServiceBuilder serviceBuilder, final ComponentStartService service) throws DeploymentUnitProcessingException { DependencyConfigurator 373 public void configureDependency(ServiceBuilder serviceBuilder, EJBComponentCreateService service) throws DeploymentUnitProcessingException { addTransactionManagerDependencies() (1 usage found) DependencyConfigurator 565 public void configureDependency(final ServiceBuilder serviceBuilder, final EJBComponentCreateService ejbComponentCreateService) throws DeploymentUnitProcessingException { addEJBSuspendHandlerDependency() (1 usage found) DependencyConfigurator 587 @Override public void configureDependency(final ServiceBuilder serviceBuilder, final EJBComponentCreateService ejbComponentCreateService) addServerSecurityManagerDependency() (1 usage found) DependencyConfigurator 609 public void configureDependency(final ServiceBuilder serviceBuilder, final EJBComponentCreateService ejbComponentCreateService) throws DeploymentUnitProcessingException { setupRemoteView(EJBViewDescription) (1 usage found) DependencyConfigurator 819 public void configureDependency(final ServiceBuilder serviceBuilder, final ViewService service) throws DeploymentUnitProcessingException { EJBComponentDescription.SecurityDomainDependencyConfigurator (1 usage found) configure(DeploymentPhaseContext, ComponentDescription, ComponentConfiguration) (1 usage found) DependencyConfigurator 920 public void configureDependency(ServiceBuilder serviceBuilder, Service service) throws DeploymentUnitProcessingException { org.jboss.as.ejb3.component.messagedriven (3 usages found) MessageDrivenComponentDescription (1 usage found) createConfiguration(ClassReflectionIndex, ClassLoader, ModuleLoader) (1 usage found) DependencyConfigurator 144 public void configureDependency(final ServiceBuilder serviceBuilder, final MessageDrivenComponentCreateService mdbComponentCreateService) throws DeploymentUnitProcessingException { MessageDrivenComponentDescription.PoolInjectingConfigurator (1 usage found) configureDependency(ServiceBuilder, Service) (1 usage found) DependencyConfigurator 326 public void configureDependency(ServiceBuilder serviceBuilder, Service service) { MessageDrivenComponentDescription.ResourceAdapterInjectingConfiguration (1 usage found) configureDependency(ServiceBuilder, MessageDrivenComponentCreateService) (1 usage found) DependencyConfigurator 351 public void configureDependency(ServiceBuilder serviceBuilder, MessageDrivenComponentCreateService service) throws DeploymentUnitProcessingException { org.jboss.as.ejb3.component.session (2 usages found) SessionBeanObjectViewConfigurator (2 usages found) configure(DeploymentPhaseContext, ComponentConfiguration, ViewDescription, ViewConfiguration) (2 usages found) DependencyConfigurator 82 public void configureDependency(final ServiceBuilder serviceBuilder, final ComponentStartService service) throws DeploymentUnitProcessingException { DependencyConfigurator 98 public void configureDependency(final ServiceBuilder serviceBuilder, final ComponentStartService service) throws DeploymentUnitProcessingException { org.jboss.as.ejb3.component.singleton (1 usage found) SingletonComponentCreateServiceFactory (1 usage found) constructService(ComponentConfiguration) (1 usage found) DependencyConfigurator 59 public void configureDependency(ServiceBuilder serviceBuilder, SingletonComponentCreateService componentCreateService) throws DeploymentUnitProcessingException { org.jboss.as.ejb3.component.stateful (3 usages found) StatefulComponentCreateServiceFactory (3 usages found) constructService(ComponentConfiguration) (3 usages found) DependencyConfigurator 54 public void configureDependency(ServiceBuilder serviceBuilder, StatefulSessionComponentCreateService componentCreateService) { DependencyConfigurator 60 public void configureDependency(final ServiceBuilder builder, final StatefulSessionComponentCreateService service) { DependencyConfigurator 76 public void configureDependency(ServiceBuilder builder, ComponentStartService service) { org.jboss.as.ejb3.component.stateless (1 usage found) StatelessComponentDescription.PoolInjectingConfigurator (1 usage found) configureDependency(ServiceBuilder, Service) (1 usage found) DependencyConfigurator 222 public void configureDependency(ServiceBuilder serviceBuilder, Service service) throws DeploymentUnitProcessingException { org.jboss.as.ejb3.context (1 usage found) EjbContextResourceReferenceProcessor.EjbContextInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 77 ServiceBuilder org.jboss.as.ejb3.deployment.processors (9 usages found) EJBComponentSuspendDeploymentUnitProcessor (1 usage found) deploy(DeploymentPhaseContext) (1 usage found) DependencyConfigurator 70 public void configureDependency(ServiceBuilder serviceBuilder, EJBComponentCreateService service) { EjbContextJndiBindingProcessor (1 usage found) @Resource VALUE 138 ServiceBuilder EjbInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 86 ServiceBuilder EjbJndiBindingsDeploymentUnitProcessor (1 usage found) registerControlPointBinding(EJBComponentDescription, ViewDescription, String, DeploymentUnit) (1 usage found) @Resource VALUE 235 ServiceBuilder EjbLookupInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 63 ServiceBuilder SessionBeanHomeProcessor (2 usages found) configureHome(ComponentDescription, SessionBeanComponentDescription, EJBViewDescription, EJBViewDescription) (2 usages found) DependencyConfigurator 111 public void configureDependency(final ServiceBuilder serviceBuilder, final ViewService service) throws DeploymentUnitProcessingException { DependencyConfigurator 133 public void configureDependency(final ServiceBuilder serviceBuilder, final ComponentStartService service) throws DeploymentUnitProcessingException { TimerServiceDeploymentProcessor (2 usages found) deploy(DeploymentPhaseContext) (2 usages found) DependencyConfigurator 150 public void configureDependency(final ServiceBuilder serviceBuilder, final ComponentStartService service) throws DeploymentUnitProcessingException { DependencyConfigurator 178 public void configureDependency(ServiceBuilder serviceBuilder, ComponentStartService service) throws DeploymentUnitProcessingException { org.jboss.as.ejb3.deployment.processors.merging (1 usage found) AsynchronousMergingProcessor (1 usage found) handleDeploymentDescriptor(DeploymentUnit, DeploymentReflectionIndex, Class, SessionBeanComponentDescription) (1 usage found) DependencyConfigurator 124 public void configureDependency(final ServiceBuilder serviceBuilder, final SessionBeanComponentCreateService service) throws DeploymentUnitProcessingException { org.jboss.as.ejb3.remote (1 usage found) RemoteViewInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 64 ServiceBuilder org.jboss.as.ejb3.timerservice (1 usage found) TimerServiceBindingSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 49 ServiceBuilder wildfly-jpa (3 usages found) org.jboss.as.jpa.injectors (2 usages found) PersistenceContextInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 97 ServiceBuilder PersistenceUnitInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 64 ServiceBuilder org.jboss.as.jpa.processor.secondLevelCache (1 usage found) CacheDeploymentListener (1 usage found) wildfly-mail (3 usages found) org.jboss.as.mail.extension (3 usages found) MailSessionAdd (1 usage found) MailSessionDefinitionInjectionSource (2 usages found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 64 ServiceBuilder @Resource VALUE startMailSession(MailSessionService, String, EEModuleDescription, ResolutionContext, ServiceTarget, ServiceBuilder, Injector) (1 usage found) 82 final ServiceBuilder valueSourceServiceBuilder, final Injector injector) { wildfly-messaging-activemq (11 usages found) org.wildfly.extension.messaging.activemq (2 usages found) ServerAdd (2 usages found) addBridgeCredentialStoreReference(ActiveMQServerService, Configuration, ObjectTypeAttributeDefinition, OperationContext, ModelNode, ServiceBuilder) (1 usage found) 714 ServiceBuilder addClusterCredentialStoreReference(ActiveMQServerService, ObjectTypeAttributeDefinition, OperationContext, ModelNode, ServiceBuilder) (1 usage found) 737 ServiceBuilder org.wildfly.extension.messaging.activemq.deployment (7 usages found) JMSConnectionFactoryDefinitionInjectionSource (2 usages found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 154 ServiceBuilder startedPooledConnectionFactory(ResolutionContext, String, ServiceBuilder, ServiceTarget, DeploymentUnit, Injector) (1 usage found) 186 ServiceBuilder JMSDestinationDefinitionInjectionSource (5 usages found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 126 ServiceBuilder startActiveMQDestination(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 143 ServiceBuilder startQueue(String, ServiceTarget, ServiceName, ServiceBuilder, DeploymentUnit, Injector) (1 usage found) 167 final ServiceBuilder serviceBuilder, startTopic(String, ServiceTarget, ServiceName, ServiceBuilder, DeploymentUnit, Injector) (1 usage found) 199 ServiceBuilder serviceBuilder, inject(ServiceBuilder, Injector, Service) (1 usage found) 220 private void inject(ServiceBuilder serviceBuilder, Injector injector, Service destinationService) { org.wildfly.extension.messaging.activemq.jms.bridge (2 usages found) JMSBridgeAdd (2 usages found) addDependencyForJNDIResource(ServiceBuilder, ModelNode, OperationContext, AttributeDefinition) (1 usage found) 127 private void addDependencyForJNDIResource(final ServiceBuilder builder, final ModelNode model, final OperationContext context, addCredentialStoreReference(InjectedValue>, ObjectTypeAttributeDefinition, OperationContext, ModelNode, ServiceBuilder, String...) (1 usage found) 219 ServiceBuilder wildfly-naming (1 usage found) org.jboss.as.naming.deployment (1 usage found) ContextNames.BindInfo (1 usage found) setupLookupInjection(ServiceBuilder, Injector, DeploymentUnit, boolean) (1 usage found) @Resource VALUE 294 public void setupLookupInjection(final ServiceBuilder serviceBuilder, wildfly-picketlink (3 usages found) org.wildfly.extension.picketlink.idm.model (3 usages found) PartitionManagerAddHandler (3 usages found) wildfly-pojo (5 usages found) org.jboss.as.pojo.descriptor (2 usages found) DefaultConfigVisitor (2 usages found) org.jboss.as.pojo.service (3 usages found) AbstractPojoPhase (1 usage found) DescribedPojoPhase (1 usage found) InstancesService (1 usage found) wildfly-security (6 usages found) org.jboss.as.security.elytron (6 usages found) BasicAddHandler (1 usage found) ElytronIntegrationResourceDefinitions (5 usages found) wildfly-undertow (1 usage found) org.wildfly.extension.undertow (1 usage found) ServerAdd (1 usage found) wildfly-webservices-server-integration (1 usage found) org.jboss.as.webservices.injection (1 usage found) WebServiceContextInjectionSource (1 usage found) @Resource VALUE getResourceValue(ResolutionContext, ServiceBuilder, DeploymentPhaseContext, Injector) (1 usage found) 41 ServiceBuilder wildfly-weld (3 usages found) org.jboss.as.weld.deployment.processors (3 usages found) WeldComponentIntegrationProcessor (3 usages found) addWeldIntegration(Iterable, ComponentInterceptorSupport, ServiceTarget, ComponentConfiguration, ComponentDescription, Class, String, ...) (1 usage found) DependencyConfigurator 190 public void configureDependency(final ServiceBuilder serviceBuilder, ComponentStartService service) throws DeploymentUnitProcessingException { addJsr299BindingsCreateInterceptor(ComponentConfiguration, ComponentDescription, String, ServiceName, ServiceBuilder, ServiceName, ComponentInterceptorSupport) (1 usage found) 258 ServiceBuilder ComponentIntegrator addCommonLifecycleInterceptionSupport(ComponentConfiguration, ServiceBuilder, ServiceName, ServiceName, ComponentInterceptorSupport) (1 usage found) 266 ServiceBuilder wildfly-weld-common (1 usage found) org.jboss.as.weld.interceptors (1 usage found) Jsr299BindingsInterceptor (1 usage found) ComponentIntegrator factory(InterceptionType, ServiceBuilder, ServiceName, ComponentInterceptorSupport) (1 usage found) 63 ServiceBuilder wildfly-weld-ejb (1 usage found) org.jboss.as.weld.deployment.processors (1 usage found) EjbComponentIntegrator (1 usage found) integrate(ServiceName, ComponentConfiguration, ComponentDescription, ServiceBuilder, Supplier, DefaultInterceptorIntegrationAction, ComponentInterceptorSupport) (1 usage found) ComponentIntegrator 60 ServiceBuilder weldComponentServiceBuilder, Supplier bindingServiceNameSupplier, wildfly-weld-spi (1 usage found) org.jboss.as.weld.spi (1 usage found) ComponentIntegrator (1 usage found) Usage in cast target type (2 usages found) Usage in comments (2 usages found) Usage in extends/implements clause (1 usage found) wildfly-clustering-singleton-api (1 usage found) org.wildfly.clustering.singleton.service (1 usage found) SingletonServiceBuilder (1 usage found) Interface CapabilityServiceBuilder Found usages (16 usages found) Production (16 usages found) Local variable declaration (11 usages found) Method parameter declaration (5 usages found) wildfly-mail (1 usage found) org.jboss.as.mail.extension (1 usage found) MailSessionAdd (1 usage found) wildfly-undertow (4 usages found) org.wildfly.extension.undertow (4 usages found) AjpListenerAdd (1 usage found) HttpListenerAdd (1 usage found) HttpsListenerAdd (1 usage found) ListenerAdd (1 usage found)