Apache DeltaSpike

From air
Revision as of 10:55, 3 August 2016 by Donsez (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://deltaspike.apache.org/

DeltaSpike consists of a number of portable CDI extensions that provide useful features for JavaEE and Java application developers.


Example with Quartz v2

@Scheduled(cronExpression = "0 0/10 * * * ?")
public class CdiAwareQuartzJob implements org.quartz.Job
{
    @Inject
    private MyService service;

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException
    {
        //...
    }
}