public class DbSchedulerDeadlineManagerSupplier extends Object implements Supplier<DbSchedulerDeadlineManager>
DbSchedulerDeadlineManager
. This makes it easier to use in context without more
advanced ways of dependency injection. It can be passed to the tasks in the DbSchedulerDeadlineManager
to
create the Scheduler
before the DbSchedulerDeadlineManager
is
created. After creating it should be set on this DbSchedulerDeadlineManagerSupplier
.Constructor and Description |
---|
DbSchedulerDeadlineManagerSupplier() |
Modifier and Type | Method and Description |
---|---|
DbSchedulerDeadlineManager |
get()
Returns the set
DbSchedulerDeadlineManager , or null if it hasn't been set yet. |
void |
set(DbSchedulerDeadlineManager deadlineManager)
Sets the
DbSchedulerDeadlineManager so the tasks created in advanced can access it. |
public DbSchedulerDeadlineManager get()
DbSchedulerDeadlineManager
, or null
if it hasn't been set yet.get
in interface Supplier<DbSchedulerDeadlineManager>
DbSchedulerDeadlineManager
public void set(@Nonnull DbSchedulerDeadlineManager deadlineManager)
DbSchedulerDeadlineManager
so the tasks created in advanced can access it.deadlineManager
- the DbSchedulerDeadlineManager
Copyright © 2010–2024. All rights reserved.