Class EjbInjectionSource


  • public class EjbInjectionSource
    extends InjectionSource
    Implementation of InjectionSource responsible for finding a specific bean instance with a bean name and interface.
    Author:
    John Bailey, Stuart Douglas
    • Constructor Detail

      • EjbInjectionSource

        public EjbInjectionSource​(String beanName,
                                  String typeName,
                                  String bindingName,
                                  org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
                                  boolean appclient)
      • EjbInjectionSource

        public EjbInjectionSource​(String typeName,
                                  String bindingName,
                                  org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
                                  boolean appclient)
    • Method Detail

      • getResourceValue

        public void getResourceValue​(InjectionSource.ResolutionContext resolutionContext,
                                     org.jboss.msc.service.ServiceBuilder<?> serviceBuilder,
                                     org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext,
                                     org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector)
                              throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Specified by:
        getResourceValue in class InjectionSource
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object