public final class FixedInjectionSource extends InjectionSource
InjectionSource.ResolutionContext| Constructor and Description |
|---|
FixedInjectionSource(ManagedReferenceFactory factory,
Object value)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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 FixedInjectionSource(ManagedReferenceFactory factory, Object value)
factory - The managed reference factory to injectvalue - the value to use for equality comparisonpublic 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)
getResourceValue 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 placedCopyright © 2021 JBoss by Red Hat. All rights reserved.