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

goja.core.annotation.OnApplicationStart Maven / Gradle / Ivy

The newest version!
/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * Copyright (c) 2013-2014 sagyf Yang. The Four Group.
 */

package goja.core.annotation;

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

/**
 * A job run at application start. 

Jobs can be executed in the background if you set async == * true.

This will make your app start accepting incoming requests faster. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface OnApplicationStart { }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy