public class EjbInjectionSource extends InjectionSource
InjectionSource
responsible for finding a specific bean instance with a bean name and interface.InjectionSource.ResolutionContext
Constructor and Description |
---|
EjbInjectionSource(String typeName,
String bindingName,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
boolean appclient) |
EjbInjectionSource(String beanName,
String typeName,
String bindingName,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
boolean appclient) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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)
Get the value to use as the injection source.
|
int |
hashCode() |
public EjbInjectionSource(String beanName, String typeName, String bindingName, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, boolean appclient)
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
InjectionSource
getResourceValue
in class InjectionSource
resolutionContext
- the resolution context to useserviceBuilder
- the builder for the binder servicephaseContext
- the deployment phase contextinjector
- the injector into which the value should be placedorg.jboss.as.server.deployment.DeploymentUnitProcessingException
- if an error occursCopyright © 2017 JBoss by Red Hat. All rights reserved.