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