本文整理汇总了Java中aQute.bnd.annotation.component.Reference类的典型用法代码示例。如果您正苦于以下问题:Java Reference类的具体用法?Java Reference怎么用?Java Reference使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Reference类属于aQute.bnd.annotation.component包,在下文中一共展示了Reference类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: registerActions
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void registerActions(IActionRegistrator registrator)
{
registrator.bundleComponentLoaded();
registrator.registerUserAction(appcloudservices.actions.GenerateRandomPassword.class);
registrator.registerUserAction(appcloudservices.actions.LogOutUser.class);
registrator.registerUserAction(appcloudservices.actions.StartSignOnServlet.class);
registrator.registerUserAction(cfcommons.actions.getEnvVariables.class);
registrator.registerUserAction(system.actions.VerifyPassword.class);
registrator.registerUserAction(watsonservices.actions.AnalyzeTone.class);
registrator.registerUserAction(watsonservices.actions.ClassifyImage.class);
registrator.registerUserAction(watsonservices.actions.CreateClassifier.class);
registrator.registerUserAction(watsonservices.actions.DetectFaces.class);
registrator.registerUserAction(watsonservices.actions.GetIdentifiableLanguages.class);
registrator.registerUserAction(watsonservices.actions.GetKeywords.class);
registrator.registerUserAction(watsonservices.actions.SendMessage.class);
registrator.registerUserAction(watsonservices.actions.Synthesize.class);
registrator.registerUserAction(watsonservices.actions.Translate.class);
}
示例2: registerActions
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void registerActions(IActionRegistrator registrator)
{
registrator.bundleComponentLoaded();
registrator.registerUserAction(appcloudservices.actions.GenerateRandomPassword.class);
registrator.registerUserAction(appcloudservices.actions.LogOutUser.class);
registrator.registerUserAction(appcloudservices.actions.StartSignOnServlet.class);
registrator.registerUserAction(emailtemplate.actions.ConvertHTMLBodyToPlainText.class);
registrator.registerUserAction(emailtemplate.actions.CopyAttachmentContent.class);
registrator.registerUserAction(emailtemplate.actions.ReplaceCustomToken.class);
registrator.registerUserAction(emailtemplate.actions.ReplaceEmailTemplateTokens.class);
registrator.registerUserAction(emailtemplate.actions.SendEmail.class);
registrator.registerUserAction(encryption.actions.DecryptString.class);
registrator.registerUserAction(encryption.actions.EncryptString.class);
registrator.registerUserAction(mxmodelreflection.actions.ReplaceToken.class);
registrator.registerUserAction(mxmodelreflection.actions.SyncObjects.class);
registrator.registerUserAction(mxmodelreflection.actions.ValidateTokensInMessage.class);
registrator.registerUserAction(system.actions.VerifyPassword.class);
}
示例3: registerActions
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void registerActions(IActionRegistrator registrator)
{
registrator.bundleComponentLoaded();
registrator.registerUserAction(appcloudservices.actions.GenerateRandomPassword.class);
registrator.registerUserAction(appcloudservices.actions.LogOutUser.class);
registrator.registerUserAction(appcloudservices.actions.StartSignOnServlet.class);
registrator.registerUserAction(mqttclient.actions.MqttInitialize.class);
registrator.registerUserAction(mqttclient.actions.MqttPublish.class);
registrator.registerUserAction(mqttclient.actions.MqttSubscribe.class);
registrator.registerUserAction(mqttclient.actions.MqttUnsubscribe.class);
registrator.registerUserAction(objecthandling.actions.clone.class);
registrator.registerUserAction(objecthandling.actions.commitInSeparateDatabaseTransaction.class);
registrator.registerUserAction(objecthandling.actions.copyAttributes.class);
registrator.registerUserAction(objecthandling.actions.createObjectListFromObject.class);
registrator.registerUserAction(objecthandling.actions.deepClone.class);
registrator.registerUserAction(objecthandling.actions.deleteAll.class);
registrator.registerUserAction(objecthandling.actions.deleteInSeparateTransaction.class);
registrator.registerUserAction(objecthandling.actions.deleteWithoutEvents.class);
registrator.registerUserAction(objecthandling.actions.EndTransaction.class);
registrator.registerUserAction(objecthandling.actions.getCreatedByUser.class);
registrator.registerUserAction(objecthandling.actions.getGUID.class);
registrator.registerUserAction(objecthandling.actions.getLastChangedByUser.class);
registrator.registerUserAction(objecthandling.actions.getOriginalValueAsString.class);
registrator.registerUserAction(objecthandling.actions.getTypeAsString.class);
registrator.registerUserAction(objecthandling.actions.memberHasChanged.class);
registrator.registerUserAction(objecthandling.actions.objectHasChanged.class);
registrator.registerUserAction(objecthandling.actions.refreshClassByObject.class);
registrator.registerUserAction(objecthandling.actions.StartTransaction.class);
registrator.registerUserAction(system.actions.VerifyPassword.class);
registrator.registerUserAction(unittesting.actions.FindAllUnitTests.class);
registrator.registerUserAction(unittesting.actions.ReportStepJava.class);
registrator.registerUserAction(unittesting.actions.RunAllUnitTestsWrapper.class);
registrator.registerUserAction(unittesting.actions.RunUnitTest.class);
registrator.registerUserAction(unittesting.actions.StartRemoteApiServlet.class);
registrator.registerUserAction(unittesting.actions.StartRunAllSuites.class);
registrator.registerUserAction(unittesting.actions.ThrowAssertionFailed.class);
}
示例4: registerActions
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void registerActions(IActionRegistrator registrator)
{
registrator.bundleComponentLoaded();
registrator.registerUserAction(objecthandling.actions.clone.class);
registrator.registerUserAction(objecthandling.actions.commitInSeparateDatabaseTransaction.class);
registrator.registerUserAction(objecthandling.actions.copyAttributes.class);
registrator.registerUserAction(objecthandling.actions.createObjectListFromObject.class);
registrator.registerUserAction(objecthandling.actions.deepClone.class);
registrator.registerUserAction(objecthandling.actions.deleteAll.class);
registrator.registerUserAction(objecthandling.actions.deleteInSeparateTransaction.class);
registrator.registerUserAction(objecthandling.actions.deleteWithoutEvents.class);
registrator.registerUserAction(objecthandling.actions.EndTransaction.class);
registrator.registerUserAction(objecthandling.actions.getCreatedByUser.class);
registrator.registerUserAction(objecthandling.actions.getGUID.class);
registrator.registerUserAction(objecthandling.actions.getLastChangedByUser.class);
registrator.registerUserAction(objecthandling.actions.getOriginalValueAsString.class);
registrator.registerUserAction(objecthandling.actions.getTypeAsString.class);
registrator.registerUserAction(objecthandling.actions.memberHasChanged.class);
registrator.registerUserAction(objecthandling.actions.objectHasChanged.class);
registrator.registerUserAction(objecthandling.actions.refreshClassByObject.class);
registrator.registerUserAction(objecthandling.actions.StartTransaction.class);
registrator.registerUserAction(system.actions.VerifyPassword.class);
registrator.registerUserAction(unittesting.actions.FindAllUnitTests.class);
registrator.registerUserAction(unittesting.actions.ReportStepJava.class);
registrator.registerUserAction(unittesting.actions.RunAllUnitTestsWrapper.class);
registrator.registerUserAction(unittesting.actions.RunUnitTest.class);
registrator.registerUserAction(unittesting.actions.StartRemoteApiServlet.class);
registrator.registerUserAction(unittesting.actions.StartRunAllSuites.class);
registrator.registerUserAction(unittesting.actions.ThrowAssertionFailed.class);
}
示例5: setLogReaderService
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
void setLogReaderService(LogReaderService lrs) {
entries.clear();
lrs.addLogListener(new LogListener() {
@Override
public void logged(LogEntry entry) {
if (entry.getBundle() == context.getBundle()) {
entries.add(entry);
}
}
});
}
示例6: setLoggerAdmin
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
void setLoggerAdmin(LoggerAdmin logger) throws Exception {
this.admin = logger;
Settings settings = this.admin.getSettings();
settings.controls.clear();
this.admin.setSettings(settings);
}
示例7: setLauncher
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference(type = '?', target = "(launcher.arguments=*)")
synchronized void setLauncher(Object obj, Map<String,Object> props) {
String[] args = (String[]) props.get("launcher.arguments");
for (int i = 0; i < args.length - 1; i++) {
if (args[i].equals("--enroute-profile")) {
if (this.profile != null)
System.err.println("Profile set multiple times, used first one " + this.profile);
else
this.profile = args[i++];
} else if (args[i].equals("--enroute-properties")) {
this.properties.add(args[++i]);
}
}
}
示例8: setOperaciones
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
/**
* @param operaciones the operaciones to set
*/
@Reference(name="operaciones", service=Operaciones.class)
public void setOperaciones(Operaciones operaciones) {
this.operaciones = operaciones;
}
示例9: setProductor
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
/**
* @param productor the productor to set
*/
@Reference(name="productor", service=Productor.class)
public void setProductor(Productor productor) {
this.productor = productor;
}
示例10: setMxRuntime
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setMxRuntime(MxRuntime runtime)
{
mxRuntime = runtime;
mxRuntime.bundleComponentLoaded();
}
示例11: setIntegration
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setIntegration(Integration integration)
{
this.integration = integration;
}
示例12: setModelMapperContext
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setModelMapperContext(final ModelMapperContext modelMapperContext) {
this.modelMapperContext = modelMapperContext;
}
示例13: setMapper
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setMapper(final Mapper mapper) {
this.mapper = mapper;
}
示例14: setOfficeService
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setOfficeService(final OfficeService officeService) {
this.officeService = officeService;
}
示例15: osgiInjectI18nMessagesProvider
import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void osgiInjectI18nMessagesProvider(I18nMessageProvider messageProvider) {
i18nMessageProvider = messageProvider;
LOG.info("Activated i18n messages ({}).", i18nMessageProvider);
}