|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CronProviderLifecycle
If you are implementing a provider for scheduled or asynchronous method
invocation, and you need to initialize and tear down some infrastructure
before and after you provider can be used, then provide an implementation of
this interface. It is usually most convenient to add this interface to
your #CronSchedulingProvider, but it could be provided as a separate
class if you wish. You could even provide multiple implementations of this
interface if desired, noting that the order in which they are initialized and
destroyed cannot be guaranteed.
| Method Summary | |
|---|---|
void |
destroyProvider()
Shutdown the underlying provider, called on application close/undeployment. |
void |
initProvider()
Initializes the underlying provider. |
| Method Detail |
|---|
void initProvider()
throws CronProviderInitialisationException
CronProviderInitialisationException
void destroyProvider()
throws CronProviderDestructionException
CronProviderDestructionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||