Meaningless Drivel is fun!*
The moose likes Spring and the fly likes Spring 3 Annotation Reference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring 3 Annotation Reference" Watch "Spring 3 Annotation Reference" New topic
Author

Spring 3 Annotation Reference

Mark L Crannage
Greenhorn

Joined: Nov 22, 2011
Posts: 3
Hi All,

Iam looking for some reference documentation for the Spring 3 annotations. I looked through the Spring 3 official specification and cannot even find details on basic annotations like @Test.

Does anyone know of any good reference documentation for Spring 3 annotations ?

Thanks,
Mark C
Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 605

Try the Dzone ref card for Spring.
http://refcardz.dzone.com/refcardz/spring-configuration?oid=sb001


Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Mark L Crannage
Greenhorn

Joined: Nov 22, 2011
Posts: 3
hi Sam,

I downloaded that card and it too has no reference to the @Test annotation.

I also tried to look in the AspectJ specifications and was not able to find this or a comprehensive list of all annotations.

any ideas ?

thanks,

Mark
Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 605

The one I pasted in earlier was for Spring configuration. There is one for spring annotations too.
http://refcardz.dzone.com/refcardz/spring-annotations

Its got a table full of testing annotations + aspectJ.... its not got one that says @Test. I don't recollect a spring specific @Test annotation... Jnuit @Test what is normally used ...
John Grath
Greenhorn

Joined: Sep 18, 2007
Posts: 15
I have used annotation as markers for my own pointcuts at method level. I would recommend declaring methods as point cut expressions instead as it is easy to forget to
annotate methods while developing.
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

As was stated @Test is not a Spring annotation so if you were searching the reference guide for just this you will not find it. However a lot of the annotations are documented in the reference guide. In addition to that and the additional resources others have posted Gordon Dickens did a lot of work identifying Annotations for the Spring projects and more (aspectj, hibernate, junit, mockito etc)

You can find it here:
http://gordondickens.com/wordpress/2011/05/20/annotation-reference-for-spring-projects/


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring 3 Annotation Reference