io.logspace.jvm.agent.shaded.quartz.core.JobRunShellFactory Maven / Gradle / Ivy
The newest version!
/* * Copyright 2001-2009 Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. * */ package io.logspace.jvm.agent.shaded.quartz.core; import io.logspace.jvm.agent.shaded.quartz.Scheduler; import io.logspace.jvm.agent.shaded.quartz.SchedulerConfigException; import io.logspace.jvm.agent.shaded.quartz.SchedulerException; import io.logspace.jvm.agent.shaded.quartz.spi.TriggerFiredBundle; /** *
instance. * * * @author James House */ public interface JobRunShellFactory { /* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * Interface. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ /** ** Responsible for creating the instances of
{@link JobRunShell}
* to be used within the{@link QuartzScheduler} * Initialize the factory, providing a handle to the
*/ void initialize(Scheduler scheduler) throws SchedulerConfigException; /** *Scheduler
* that should be made available within theJobRunShell
and * theJobExecutionContext
s within it. ** Called by the
*/ JobRunShell createJobRunShell(TriggerFiredBundle bundle) throws SchedulerException; }{@link io.logspace.jvm.agent.shaded.quartz.core.QuartzSchedulerThread}
* to obtain instances of{@link JobRunShell}
. *