WSRefValueSource(final UnifiedServiceRefMetaData serviceRef) {
this.serviceRef = serviceRef;
}
public void getResourceValue(final ResolutionContext resolutionContext, final ServiceBuilder<?> serviceBuilder, final DeploymentPhaseContext phaseContext, final Injector<ManagedReferenceFactory> injector) throws DeploymentUnitProcessingException {
final ManagedReferenceFactory factory = new ValueManagedReferenceFactory(this);
serviceBuilder.addInjection(injector, factory);
}