本文整理匯總了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);
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
示例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);
}
示例7: UnusedContentCleanupOperation
import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
private UnusedContentCleanupOperation()
{
this.metadataHtmls = null;
}
示例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;
}
示例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);
}
示例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);
}
示例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);
}
示例12: SaveNoSaveScript
import com.google.inject.assistedinject.AssistedInject; //導入依賴的package包/類
@AssistedInject
protected SaveNoSaveScript(@Assisted boolean noSaveScript)
{
super();
this.noSaveScript = noSaveScript;
setNoSaveScript(noSaveScript);
}
示例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);
}
示例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;
}
示例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);
}