Java 类com.google.inject.spi.InjectionRequest 实例源码

项目:Equella    文件:ElementAnalyzer.java   
@Override
public Void visit(InjectionRequest<?> injectionRequest)
{
    dependencyAnalyzer.analyzeInjectionPoints(injectionRequest.getInjectionPoints());
    injectionRequest.applyTo(binder);
    return null;
}
项目:guice    文件:InjectionRequestProcessor.java   
@Override
public Boolean visit(InjectionRequest<?> request) {
  Set<InjectionPoint> injectionPoints;
  try {
    injectionPoints = request.getInjectionPoints();
  } catch (ConfigurationException e) {
    errors.merge(e.getErrorMessages());
    injectionPoints = e.getPartialValue();
  }

  initializer.requestInjection(
      injector, request.getInstance(), null, request.getSource(), injectionPoints);
  return true;
}
项目:guice-old    文件:InjectionRequestProcessor.java   
@Override public Boolean visit(InjectionRequest<?> request) {
  Set<InjectionPoint> injectionPoints;
  try {
    injectionPoints = request.getInjectionPoints();
  } catch (ConfigurationException e) {
    errors.merge(e.getErrorMessages());
    injectionPoints = e.getPartialValue();
  }

  initializer.requestInjection(
      injector, request.getInstance(), null, request.getSource(), injectionPoints);
  return true;
}
项目:google-guice    文件:InjectionRequestProcessor.java   
@Override public Boolean visit(InjectionRequest<?> request) {
  Set<InjectionPoint> injectionPoints;
  try {
    injectionPoints = request.getInjectionPoints();
  } catch (ConfigurationException e) {
    errors.merge(e.getErrorMessages());
    injectionPoints = e.getPartialValue();
  }

  initializer.requestInjection(
      injector, request.getInstance(), null, request.getSource(), injectionPoints);
  return true;
}
项目:ProjectAres    文件:ElementInspector.java   
@Override
public V visit(InjectionRequest<?> request) {
    return message(request,
                   "Requesting injection of " + request.getType() +
                   " for instance " + request.getInstance());
}
项目:ProjectAres    文件:DependencyCollector.java   
@Override
public Object visit(InjectionRequest<?> injectionRequest) {
    processInjectionPoints(injectionRequest.getInjectionPoints());
    return super.visit(injectionRequest);
}