CDI Cron Parent-POM

The Parent-POM for the CDI cron project

License

License

GroupId

GroupId

de.mirkosertic.cdicron
ArtifactId

ArtifactId

cdicron-parent
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

pom
Description

Description

CDI Cron Parent-POM
The Parent-POM for the CDI cron project
Project URL

Project URL

https://github.com/mirkosertic/timed-cdi
Project Organization

Project Organization

Systemprogrammierung Mirko Sertic
Source Code Management

Source Code Management

https://github.com/mirkosertic/cdicron.git

Download cdicron-parent

Filename Size
cdicron-parent-1.1.pom 7 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/de.mirkosertic.cdicron/cdicron-parent/ -->
<dependency>
    <groupId>de.mirkosertic.cdicron</groupId>
    <artifactId>cdicron-parent</artifactId>
    <version>1.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/de.mirkosertic.cdicron/cdicron-parent/
implementation 'de.mirkosertic.cdicron:cdicron-parent:1.1'
// https://jarcasting.com/artifacts/de.mirkosertic.cdicron/cdicron-parent/
implementation ("de.mirkosertic.cdicron:cdicron-parent:1.1")
'de.mirkosertic.cdicron:cdicron-parent:pom:1.1'
<dependency org="de.mirkosertic.cdicron" name="cdicron-parent" rev="1.1">
  <artifact name="cdicron-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='de.mirkosertic.cdicron', module='cdicron-parent', version='1.1')
)
libraryDependencies += "de.mirkosertic.cdicron" % "cdicron-parent" % "1.1"
[de.mirkosertic.cdicron/cdicron-parent "1.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • api
  • quartzscheduler

CDI Cron

A CDI extension to schedule jobs as easy as Unix cron

Build Status Maven Central

Usage

Java Maven Dependency available from Central Repository:

<dependency>
    <groupId>de.mirkosertic.cdicron</groupId>
    <artifactId>cdi-cron-quartz-scheduler</artifactId>
    <version>1.1</version>
</dependency>

Example Java Code

import de.mirkosertic.cdicron.api.Cron;

@Singleton
public class DummyJob {

    public static final AtomicLong COUNTER = new AtomicLong(0);

    @Cron(cronExpression = "0/2 * * * * ?")
    public void scheduledMethod() {
        COUNTER.incrementAndGet();
    }
}

Versions

Version
1.1
1.0