public class ContextInjectionSource extends InjectionSource
InjectionSource.ResolutionContext| Constructor and Description |
|---|
ContextInjectionSource(String name,
String fullName) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
InjectionSourcegetResourceValue in class InjectionSourceresolutionContext - 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 © 2020 JBoss by Red Hat. All rights reserved.