本文整理汇总了Java中com.google.inject.spi.StaticInjectionRequest类的典型用法代码示例。如果您正苦于以下问题:Java StaticInjectionRequest类的具体用法?Java StaticInjectionRequest怎么用?Java StaticInjectionRequest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
StaticInjectionRequest类属于com.google.inject.spi包,在下文中一共展示了StaticInjectionRequest类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: visit
import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override
public Void visit(StaticInjectionRequest staticInjectionRequest)
{
dependencyAnalyzer.analyzeInjectionPoints(staticInjectionRequest.getInjectionPoints());
staticInjectionRequest.applyTo(binder);
return null;
}
示例2: visit
import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override
public V visit(StaticInjectionRequest request) {
return message(request,
"Requesting static injection for " + request.getType());
}
示例3: visit
import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override
public Object visit(StaticInjectionRequest staticInjectionRequest) {
processInjectionPoints(staticInjectionRequest.getInjectionPoints());
return super.visit(staticInjectionRequest);
}
示例4: visit
import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
public Void visit(StaticInjectionRequest staticInjectionRequest) {
bindings.addStaticInjectionRequest(
staticInjectionRequest.getType(),
staticInjectionRequest.getSource());
return null;
}
示例5: visit
import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override
public Boolean visit(StaticInjectionRequest request) {
staticInjections.add(new StaticInjection(injector, request));
return true;
}
示例6: StaticInjection
import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
public StaticInjection(InjectorImpl injector, StaticInjectionRequest request) {
this.injector = injector;
this.source = request.getSource();
this.request = request;
}
示例7: visit
import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override public Boolean visit(StaticInjectionRequest request) {
staticInjections.add(new StaticInjection(injector, request));
return true;
}