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

com.artemis.annotations.PooledWeaver Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package com.artemis.annotations;

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

import com.artemis.Component;

/**
 * Transforms a {@link Component} into a {@link com.artemis.PooledComponent}. Component transformation
 * takes place during the artemis goal defined in artemis-odb-maven-plugin
 * or the weave task in artemis-odb-gradle-plugin.
 * 
 * @see Component pooling
 *	  on the wiki.
 */
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.TYPE)
@Documented
public @interface PooledWeaver {
	
	/**
	 * If true, forces weaving even if maven property enablePooledWeaving is
	 * set to false. 
	 */
	boolean forceWeaving() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy