public interface WorkContextProvider extends Serializable
Workinstance uses to associate a
WorkContextinstances to be set when the
Workinstance gets executed by a
Work instance could optionally implement this interface to
indicate to the
WorkManager, that the
provided by this
Work instance through the
getWorkContexts method must be used while setting
the execution context of the
getWorkContexts method returns an empty List
or null, the WorkManager must treat it as if no additional execution contexts
are associated with that Work instance.
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.