本文整理汇总了Java中be.objectify.deadbolt.java.ExecutionContextProvider类的典型用法代码示例。如果您正苦于以下问题:Java ExecutionContextProvider类的具体用法?Java ExecutionContextProvider怎么用?Java ExecutionContextProvider使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ExecutionContextProvider类属于be.objectify.deadbolt.java包,在下文中一共展示了ExecutionContextProvider类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: CustomRestrictAction
import be.objectify.deadbolt.java.ExecutionContextProvider; //导入依赖的package包/类
@Inject
public CustomRestrictAction(final JavaAnalyzer analyzer,
final SubjectCache subjectCache,
final HandlerCache handlerCache,
final Configuration config,
final ExecutionContextProvider ecProvider)
{
this.analyzer = analyzer;
this.subjectCache = subjectCache;
this.handlerCache = handlerCache;
this.config = config;
this.ecProvider = ecProvider;
}
示例2: MyDeadboltHandler
import be.objectify.deadbolt.java.ExecutionContextProvider; //导入依赖的package包/类
public MyDeadboltHandler(final PlayAuthenticate auth, final ExecutionContextProvider exContextProvider) {
super(exContextProvider);
this.auth = auth;
}
示例3: MyHandlerCache
import be.objectify.deadbolt.java.ExecutionContextProvider; //导入依赖的package包/类
@Inject
public MyHandlerCache(final PlayAuthenticate auth, final ExecutionContextProvider execContextProvider) {
this.auth = auth;
this.defaultHandler = new MyDeadboltHandler(auth, execContextProvider);
}
示例4: MyDeadboltHandler
import be.objectify.deadbolt.java.ExecutionContextProvider; //导入依赖的package包/类
public MyDeadboltHandler(ExecutionContextProvider ecProvider) {
super(ecProvider);
}
示例5: MyHandlerCache
import be.objectify.deadbolt.java.ExecutionContextProvider; //导入依赖的package包/类
@Inject
public MyHandlerCache(final ExecutionContextProvider ecProvider) {
defaultHandler = new MyDeadboltHandler(ecProvider);
}