本文整理汇总了Java中com.progressoft.brix.domino.api.client.annotations.InjectContext类的典型用法代码示例。如果您正苦于以下问题:Java InjectContext类的具体用法?Java InjectContext怎么用?Java InjectContext使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
InjectContext类属于com.progressoft.brix.domino.api.client.annotations包,在下文中一共展示了InjectContext类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getExtensionPoint
import com.progressoft.brix.domino.api.client.annotations.InjectContext; //导入依赖的package包/类
private String getExtensionPoint(Element e) {
AnnotationMirror
providerAnnotation = MoreElements.getAnnotationMirror(e, InjectContext.class).get();
DeclaredType providerInterface = this.getProviderInterface(providerAnnotation);
TypeElement typeElement = asTypeElement(providerInterface);
return typeElement.getQualifiedName().toString();
}
示例2: contributeToMainModule
import com.progressoft.brix.domino.api.client.annotations.InjectContext; //导入依赖的package包/类
@InjectContext(extensionPoint=MainExtensionPoint.class)
void contributeToMainModule(MainContext context);
示例3: contributeToLayoutModule
import com.progressoft.brix.domino.api.client.annotations.InjectContext; //导入依赖的package包/类
@InjectContext(extensionPoint=LayoutExtensionPoint.class)
void contributeToLayoutModule(LayoutContext context);
示例4: contributeToVertxBusModule
import com.progressoft.brix.domino.api.client.annotations.InjectContext; //导入依赖的package包/类
@InjectContext(extensionPoint=VertxBusExtensionPoint.class)
void contributeToVertxBusModule(VertxBusContext context);
示例5: InjectContextProcessor
import com.progressoft.brix.domino.api.client.annotations.InjectContext; //导入依赖的package包/类
public InjectContextProcessor() {
supportedAnnotations.add(InjectContext.class.getCanonicalName());
}
示例6: process
import com.progressoft.brix.domino.api.client.annotations.InjectContext; //导入依赖的package包/类
@Override
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
roundEnv.getElementsAnnotatedWith(InjectContext.class)
.forEach(this::generateContribution);
return false;
}
示例7: onMainExtensionPointContextReceived
import com.progressoft.brix.domino.api.client.annotations.InjectContext; //导入依赖的package包/类
@InjectContext(extensionPoint = MainExtensionPoint.class)
void onMainExtensionPointContextReceived(MainContext context);