public abstract class InjectionSource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InjectionSource.ResolutionContext
A resolution context for the injection source.
|
Constructor and Description |
---|
InjectionSource() |
Modifier and Type | Method and Description |
---|---|
abstract 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 abstract 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
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 © 2018 JBoss by Red Hat. All rights reserved.