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,
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, DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector) throws 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 placedDeploymentUnitProcessingException - if an error occursCopyright © 2014 JBoss by Red Hat. All rights reserved.