home | career | drupal | java | mac | mysql | perl | scala | uml | unix

Groovy example source code file (DomainClass.java)

This example Groovy source code file (DomainClass.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Groovy tags/keywords

annotation, domainclass, domainclass, groovyasttransformationclass, groovyasttransformationclass

The Groovy DomainClass.java source code

package org.codehaus.groovy.grails.compiler.injection;

import org.codehaus.groovy.transform.GroovyASTTransformationClass;

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

/**
 * Created by IntelliJ IDEA.
 * User: Danno
 * Date: Jan 30, 2008
 * Time: 8:11:08 PM
 */
@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.TYPE)
@GroovyASTTransformationClass("org.codehaus.groovy.grails.compiler.injection.DefaultGrailsDomainClassInjector")
public @interface DomainClass {
}

Other Groovy examples (source code examples)

Here is a short list of links related to this Groovy DomainClass.java source code file:

new blog posts

 

Copyright 1998-2013 Alvin Alexander, alvinalexander.com
All Rights Reserved.