All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geneea.celery.CeleryTask Maven / Gradle / Ivy

Go to download

Java library for interfacing with http://celeryproject.org including code for both task submissions and task execution.

There is a newer version: 1.10.4
Show newest version
package com.geneea.celery;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Marks your code as a Celery CeleryTask.
 * 

* The annotation processor included in this package then generates two classes - {@code *Proxy} and {@code *Loader}. * The loader is *

* All parameters and return types must be JSON-serializable. *

* In order for the {@link CeleryWorker} to find your Tasks, you must register them as a service in {@code META-INF/services}. * An easy way to do it is to annotate your CeleryTask implementation with {@code org.kohsuke.MetaInfServices} annotation. See * example tasks in the examples module. */ @Retention(RetentionPolicy.CLASS) @Target(ElementType.TYPE) public @interface CeleryTask { }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy