当前位置: 首页>>代码示例>>Java>>正文


Java Reference类代码示例

本文整理汇总了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);
}
 
开发者ID:mendix,项目名称:IBM-Watson-Connector-Suite,代码行数:20,代码来源:UserActionsRegistrar.java

示例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);
}
 
开发者ID:mendix,项目名称:EmailModuleWithTemplates,代码行数:20,代码来源:UserActionsRegistrar.java

示例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);
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:39,代码来源:UserActionsRegistrar.java

示例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);
}
 
开发者ID:mendix,项目名称:UnitTesting,代码行数:32,代码来源:UserActionsRegistrar.java

示例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);
			}
		}
	});
}
 
开发者ID:osgi,项目名称:bundles,代码行数:14,代码来源:LoggerTest.java

示例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);
}
 
开发者ID:osgi,项目名称:bundles,代码行数:8,代码来源:LoggerTest.java

示例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]);
		}
	}
}
 
开发者ID:osgi,项目名称:bundles,代码行数:15,代码来源:Configurer.java

示例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;
}
 
开发者ID:maldiny,项目名称:OSGI-en-Castellano,代码行数:8,代码来源:Resta.java

示例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;
}
 
开发者ID:maldiny,项目名称:OSGI-en-Castellano,代码行数:8,代码来源:Consumidor.java

示例10: setMxRuntime

import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setMxRuntime(MxRuntime runtime)
{
	mxRuntime = runtime;
	mxRuntime.bundleComponentLoaded();
}
 
开发者ID:Finaps,项目名称:BootstrapCarousel,代码行数:7,代码来源:UserActionsRegistrar.java

示例11: setIntegration

import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setIntegration(Integration integration)
{
	this.integration = integration;
}
 
开发者ID:Finaps,项目名称:BootstrapCarousel,代码行数:6,代码来源:UserActionsRegistrar.java

示例12: setModelMapperContext

import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setModelMapperContext(final ModelMapperContext modelMapperContext) {
    this.modelMapperContext = modelMapperContext;
}
 
开发者ID:antoniomaria,项目名称:karaf4-eclipselink-jpa,代码行数:5,代码来源:MapperImpl.java

示例13: setMapper

import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setMapper(final Mapper mapper) {
    this.mapper = mapper;
}
 
开发者ID:antoniomaria,项目名称:karaf4-eclipselink-jpa,代码行数:5,代码来源:MappingHello.java

示例14: setOfficeService

import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void setOfficeService(final OfficeService officeService) {
    this.officeService = officeService;
}
 
开发者ID:antoniomaria,项目名称:karaf4-eclipselink-jpa,代码行数:5,代码来源:OfficeResourceImpl.java

示例15: osgiInjectI18nMessagesProvider

import aQute.bnd.annotation.component.Reference; //导入依赖的package包/类
@Reference
public void osgiInjectI18nMessagesProvider(I18nMessageProvider messageProvider) {
    i18nMessageProvider = messageProvider;
    LOG.info("Activated i18n messages ({}).", i18nMessageProvider);
}
 
开发者ID:Talend,项目名称:components,代码行数:6,代码来源:GlobalContextOsgi.java


注:本文中的aQute.bnd.annotation.component.Reference类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。