當前位置: 首頁>>代碼示例>>Java>>正文


Java AssistedInject類代碼示例

本文整理匯總了Java中com.google.inject.assistedinject.AssistedInject的典型用法代碼示例。如果您正苦於以下問題:Java AssistedInject類的具體用法?Java AssistedInject怎麽用?Java AssistedInject使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


AssistedInject類屬於com.google.inject.assistedinject包,在下文中一共展示了AssistedInject類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: S3Input

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public S3Input(@Assisted Configuration configuration,
               MetricRegistry metricRegistry,
               S3Transport.Factory transport,
               LocalMetricRegistry localRegistry,
               S3Codec.Factory codec,
               Config config,
               Descriptor descriptor,
               ServerStatus serverStatus) {
    super(
            metricRegistry,
            configuration,
            transport.create(configuration),
            localRegistry,
            codec.create(configuration),
            config,
            descriptor,
            serverStatus);
}
 
開發者ID:sherzberg,項目名稱:graylog-plugin-s3,代碼行數:20,代碼來源:S3Input.java

示例2: TouchRecognition

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public TouchRecognition(@Assisted("listenOn") Widget listenOn, @Assisted("emulateClickAsTouch") Boolean emulateClickAsTouch,
                        @Assisted("globalTouchEnd") Boolean globalTouchEnd, TouchHandlerProvider touchHandlerProvider,
                        PlayerContentView playerContentView) {
    this.listenOn = listenOn;
    this.emulateClickAsTouch = emulateClickAsTouch;
    this.globalTouchEnd = globalTouchEnd;
    this.touchHandlerInitializer = touchHandlerProvider.getTouchHandlersInitializer();
    this.playerContentView = playerContentView;
}
 
開發者ID:YoungDigitalPlanet,項目名稱:empiria.player,代碼行數:11,代碼來源:TouchRecognition.java

示例3: S3Transport

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public S3Transport(@Assisted final Configuration configuration,
                   final EventBus serverEventBus,
                   final ServerStatus serverStatus,
                   LocalMetricRegistry localRegistry) {
    super(serverEventBus, configuration);
    this.serverStatus = serverStatus;
    this.localRegistry = localRegistry;
}
 
開發者ID:sherzberg,項目名稱:graylog-plugin-s3,代碼行數:10,代碼來源:S3Transport.java

示例4: SaveOperation

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
protected SaveOperation(@Assisted boolean unlock, @Assisted("pre") List<WorkflowOperation> preSaveOperations,
	@Assisted("post") List<WorkflowOperation> postSaveOperations)
{
	this.unlock = unlock;
	this.preSaveOperations = preSaveOperations;
	this.postSaveOperations = postSaveOperations;
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:9,代碼來源:SaveOperation.java

示例5: CourseEditorImpl

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public CourseEditorImpl(@Assisted CourseInfo course, @Assisted("stagingUuid") @Nullable String stagingUuid,
	@Assisted("lockId") @Nullable String lockId, @Assisted("editing") boolean editing,
	@Assisted("importing") boolean importing)
{
	super(course, stagingUuid, lockId, editing, importing);
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:8,代碼來源:CourseEditorImpl.java

示例6: OAuthEditorImpl

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public OAuthEditorImpl(@Assisted OAuthClient entity, @Assisted("stagingUuid") @Nullable String stagingUuid,
	@Assisted("lockId") @Nullable String lockId, @Assisted("editing") boolean editing,
	@Assisted("importing") boolean importing)
{
	super(entity, stagingUuid, lockId, editing, importing);
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:8,代碼來源:OAuthEditorImpl.java

示例7: UnusedContentCleanupOperation

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
private UnusedContentCleanupOperation()
{
	this.metadataHtmls = null;
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:6,代碼來源:UnusedContentCleanupOperation.java

示例8: EditMyContentOperation

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
private EditMyContentOperation(@Assisted MyContentFields fields, @Assisted @Nullable String filename,
	@Assisted @Nullable InputStream inputStream, @Assisted("staginguuid") @Nullable String stagingUuid,
	@Assisted("remove") boolean removeExistingAttachments, @Assisted("use") boolean useExistingAttachment)
{
	this.fields = fields;
	this.inputStream = inputStream;
	this.filename = filename;
	this.stagingUuid = stagingUuid;
	this.removeExistingAttachments = removeExistingAttachments;
	this.useExistingAttachment = useExistingAttachment;
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:13,代碼來源:EditMyContentOperation.java

示例9: CollectionEditorImpl

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public CollectionEditorImpl(@Assisted ItemDefinition collection,
	@Assisted("stagingUuid") @Nullable String stagingUuid, @Assisted("lockId") @Nullable String lockId,
	@Assisted("editing") boolean editing, @Assisted("importing") boolean importing)
{
	super(collection, stagingUuid, lockId, editing, importing);
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:8,代碼來源:CollectionEditorImpl.java

示例10: SchemaEditorImpl

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public SchemaEditorImpl(@Assisted Schema schema, @Assisted("stagingUuid") @Nullable String stagingUuid,
	@Assisted("lockId") @Nullable String lockId, @Assisted("editing") boolean editing,
	@Assisted("importing") boolean importing)
{
	super(schema, stagingUuid, lockId, editing, importing);
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:8,代碼來源:SchemaEditorImpl.java

示例11: ConnectorEditorImpl

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public ConnectorEditorImpl(@Assisted Connector entity, @Assisted("stagingUuid") @Nullable String stagingUuid,
	@Assisted("lockId") @Nullable String lockId, @Assisted("editing") boolean editing,
	@Assisted("importing") boolean importing)
{
	super(entity, stagingUuid, lockId, editing, importing);
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:8,代碼來源:ConnectorEditorImpl.java

示例12: SaveNoSaveScript

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
protected SaveNoSaveScript(@Assisted boolean noSaveScript)
{
	super();
	this.noSaveScript = noSaveScript;
	setNoSaveScript(noSaveScript);
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:8,代碼來源:SaveNoSaveScript.java

示例13: RawNsqInput

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public RawNsqInput(MetricRegistry metricRegistry,
                   @Assisted Configuration configuration,
                   NsqTransport.Factory transportFactory,
                   RawCodec.Factory codecFactory,
                   LocalMetricRegistry localRegistry,
                   Config config, Descriptor descriptor,
                   ServerStatus serverStatus) {
    super(metricRegistry, configuration, transportFactory.create(configuration), localRegistry,
            codecFactory.create(configuration), config, descriptor, serverStatus);
}
 
開發者ID:condevtec,項目名稱:graylog-plugin-nsq,代碼行數:12,代碼來源:RawNsqInput.java

示例14: TaskApproveOperation

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public TaskApproveOperation(@Assisted("message") String message,
	@Assisted("acceptAllUsers") boolean acceptAllUsers)
{
	this.message = message;
	this.acceptAllUsers = acceptAllUsers;
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:8,代碼來源:TaskApproveOperation.java

示例15: BackgroundIndexerImpl

import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
public BackgroundIndexerImpl(@Assisted long schemaId, SchemaDataSourceService schemaService)
{
	this.schemaId = schemaId;
	this.schemaService = schemaService;
	dataSource = schemaService.getDataSourceForId(schemaId);
}
 
開發者ID:equella,項目名稱:Equella,代碼行數:8,代碼來源:BackgroundIndexerImpl.java


注:本文中的com.google.inject.assistedinject.AssistedInject類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。