You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 47 Next »

Here is a list of all Java EE 5 Annotations:

JSR

Annotation

DD Tag(s)

Supported in

Notes

Geronimo SVN Revision

JSR 250 (Common Annotations)

1. javax.annotation.Generated

 

 

The only annotation with SOURCE retention. All the others are RUNTIME.

(tick) N/A

 

2. javax.annotation.PostConstruct

post-construct

 

 

(error)

 

3. javax.annotation.PreDestroy

pre-destroy

 

 

(error)

 

4. javax.annotation.Resource

env-entry
service-ref
resource-ref
message-destination-ref
resource-env-ref

 

 

(error)

 

5. javax.annotation.Resources

 

 

Same as Resource

(error)

 

6. javax.annotation.security.DeclareRoles

security-role

 

 

(error)

 

7. javax.annotation.security.DenyAll

 

 

are not supported in servlets

(error)

 

8. javax.annotation.security.PermitAll

 

 

are not supported in servlets

(error)

 

9. javax.annotation.security.RolesAllowed

 

 

are not supported in servlets

(error)

 

10. javax.annotation.security.RunAs

run-as

 

can be only on servlets

(error)

JSR-220 (EJB 3.0)

1. javax.ejb.ActivationConfigProperty

activation-config-property

 

 

(error)

 

2. javax.ejb.ApplicationException

application-exception

 

 

(error)

 

3. javax.ejb.EJB

ejb-ref
ejb-local-ref

1. App client application
2. EJB application
3. Web application

 

(error) 1. TBD
(error) 2. TBD
(error) 3. TBD

 

4. javax.ejb.EJBs

 

 

Same as EJB

(error)

 

5. javax.ejb.Init

 

 

 

(tick) N/A

 

6. javax.ejb.Local

local

 

 

(tick) N/A

 

7. javax.ejb.LocalHome

local-home

 

 

(tick) N/A

 

8. javax.ejb.MessageDriven

message-driven

 

 

(tick) N/A

 

9. javax.ejb.PostActivate

post-activate

 

 

(/)N/A

 

10. javax.ejb.PrePassivate

pre-passivate

 

 

(/)N/A

 

11. javax.ejb.Remote

remote

 

 

(/)N/A

 

12. javax.ejb.RemoteHome

home

 

 

(tick) N/A

 

13. javax.ejb.Remove

 

 

 

(/)N/A

 

14. javax.ejb.Stateful

stateful

 

 

(/)N/A

 

15. javax.ejb.Stateless

stateless

 

 

(/)N/A

 

16. javax.ejb.Timeout

 

 

 

(/)N/A

 

17. javax.ejb.TransactionAttribute

trans-attribute

 

 

(/)N/A

 

18. javax.ejb.TransactionManagement

 

 

 

(/)N/A

JSR-220 (EJB 3.0)

1. javax.interceptor.AroundInvoke

around-invoke

 

 

 

 

2. javax.interceptor.ExcludeClassInterceptors

exclude-class-interceptors

 

 

 

 

3. javax.interceptor.ExcludeDefaultInterceptors

exclude-default-interceptors

 

 

 

 

4. javax.interceptor.Interceptors

interceptors

 

 

 

JSR-181 (Web Services Metadata 2.0)

1. javax.jws.HandlerChain

handler-chain

 

 

 

 

2. javax.jws.Oneway

 

 

 

 

 

3. javax.jws.WebMethod

 

 

 

 

 

4. javax.jws.WebParam

 

 

 

 

 

5. javax.jws.WebResult

 

 

 

 

 

6. javax.jws.WebService

service-ref-type

 

 

 

 

7. javax.jws.soap.InitParam

 

 

 

 

 

8. javax.jws.soap.SOAPBinding

 

 

 

 

 

9. javax.jws.soap.SOAPMessageHandler

 

 

 

 

 

10. javax.jws.soap.SOAPMessageHandlers

 

 

 

 

JSR-220 (JPA 1.0)

1. javax.persistence.AssociationOverride

 

 

 

 

 

2. javax.persistence.AssociationOverrides

 

 

 

 

 

3. javax.persistence.AttributeOverride

 

 

 

 

 

4. javax.persistence.AttributeOverrides

 

 

 

 

 

5. javax.persistence.Basic

 

 

 

 

 

6. javax.persistence.Column

 

 

 

 

 

7. javax.persistence.ColumnResult

 

 

 

 

 

8. javax.persistence.DiscriminatorColumn

 

 

 

 

 

9. javax.persistence.DiscriminatorValue

 

 

 

 

 

10. javax.persistence.Embeddable

 

 

 

 

 

11. javax.persistence.Embedded

 

 

 

 

 

12. javax.persistence.EmbeddedId

 

 

 

 

 

13. javax.persistence.Entity

 

 

 

 

 

14. javax.persistence.EntityListeners

 

 

 

 

 

15. javax.persistence.EntityResult

 

 

 

 

 

16. javax.persistence.Enumerated

 

 

 

 

 

17. javax.persistence.ExcludeDefaultListeners

 

 

 

 

 

18. javax.persistence.ExcludeSuperclassListeners

 

 

 

 

 

19. javax.persistence.FieldResult

 

 

 

 

 

20. javax.persistence.GeneratedValue

 

 

 

 

 

21. javax.persistence.Id

 

 

 

 

 

22. javax.persistence.IdClass

 

 

 

 

 

23. javax.persistence.Inheritance

 

 

 

 

 

24. javax.persistence.JoinColumn

 

 

 

 

 

25. javax.persistence.JoinColumns

 

 

 

 

 

26. javax.persistence.JoinTable

 

 

 

 

 

27. javax.persistence.Lob

 

 

 

 

 

28. javax.persistence.ManyToMany

 

 

 

 

 

29. javax.persistence.ManyToOne

 

 

 

 

 

30. javax.persistence.MapKey

 

 

 

 

 

31. javax.persistence.MappedSuperclass

 

 

 

 

 

32. javax.persistence.NamedNativeQueries

 

 

 

 

 

33. javax.persistence.NamedNativeQuery

 

 

 

 

 

34. javax.persistence.NamedQueries

 

 

 

 

 

35. javax.persistence.NamedQuery

 

 

 

 

 

36. javax.persistence.OneToMany

 

 

 

 

 

37. javax.persistence.OneToOne

 

 

 

 

 

38. javax.persistence.OrderBy

 

 

 

 

 

39. javax.persistence.PersistenceContext

 

 

 

 

 

40. javax.persistence.PersistenceContexts

 

 

 

 

 

41. javax.persistence.PersistenceProperty

 

 

 

 

 

42. javax.persistence.PersistenceUnit

 

 

 

 

 

43. javax.persistence.PersistenceUnits

 

 

 

 

 

44. javax.persistence.PostLoad

 

 

 

 

 

45. javax.persistence.PostPersist

 

 

 

 

 

46. javax.persistence.PostRemove

 

 

 

 

 

47. javax.persistence.PostUpdate

 

 

 

 

 

48. javax.persistence.PrePersist

 

 

 

 

 

49. javax.persistence.PreRemove

 

 

 

 

 

50. javax.persistence.PreUpdate

 

 

 

 

 

51. javax.persistence.PrimaryKeyJoinColumn

 

 

 

 

 

52. javax.persistence.PrimaryKeyJoinColumns

 

 

 

 

 

53. javax.persistence.QueryHint

 

 

 

 

 

54. javax.persistence.SecondaryTable

 

 

 

 

 

55. javax.persistence.SecondaryTables

 

 

 

 

 

56. javax.persistence.SequenceGenerator

 

 

 

 

 

57. javax.persistence.SqlResultSetMapping

 

 

 

 

 

58. javax.persistence.SqlResultSetMappings

 

 

 

 

 

59. javax.persistence.Table

 

 

 

 

 

60. javax.persistence.TableGenerator

 

 

 

 

 

61. javax.persistence.Temporal

 

 

 

 

 

62. javax.persistence.Transient

 

 

 

 

 

63. javax.persistence.UniqueConstraint

 

 

 

 

 

64. javax.persistence.Version

 

 

 

 

JSR-222 (JAXB 2.0)

1. javax.xml.bind.annotation.XmlAccessorOrder

 

 

 

 

 

2. javax.xml.bind.annotation.XmlAccessorType

 

 

 

 

 

3. javax.xml.bind.annotation.XmlAnyAttribute

 

 

 

 

 

4. javax.xml.bind.annotation.XmlAnyElement

 

 

 

 

 

5. javax.xml.bind.annotation.XmlAttachmentRef

 

 

 

 

 

6. javax.xml.bind.annotation.XmlAttribute

 

 

 

 

 

7. javax.xml.bind.annotation.XmlElement

 

 

 

 

 

8. javax.xml.bind.annotation.XmlElementDecl

 

 

 

 

 

9. javax.xml.bind.annotation.XmlElementRef

 

 

 

 

 

10. javax.xml.bind.annotation.XmlElementRefs

 

 

 

 

 

11. javax.xml.bind.annotation.XmlElementWrapper

 

 

 

 

 

12. javax.xml.bind.annotation.XmlElements

 

 

 

 

 

13. javax.xml.bind.annotation.XmlEnum

 

 

 

 

 

14. javax.xml.bind.annotation.XmlEnumValue

 

 

 

 

 

15. javax.xml.bind.annotation.XmlID

 

 

 

 

 

16. javax.xml.bind.annotation.XmlIDREF

 

 

 

 

 

17. javax.xml.bind.annotation.XmlInlineBinaryData

 

 

 

 

 

18. javax.xml.bind.annotation.XmlList

 

 

 

 

 

19. javax.xml.bind.annotation.XmlMimeType

 

 

 

 

 

20. javax.xml.bind.annotation.XmlMixed

 

 

 

 

 

21. javax.xml.bind.annotation.XmlNs

 

 

 

 

 

22. javax.xml.bind.annotation.XmlRegistry

 

 

 

 

 

23. javax.xml.bind.annotation.XmlRootElement

 

 

 

 

 

24. javax.xml.bind.annotation.XmlSchema

 

 

 

 

 

25. javax.xml.bind.annotation.XmlSchemaType

 

 

 

 

 

26. javax.xml.bind.annotation.XmlSchemaTypes

 

 

 

 

 

27. javax.xml.bind.annotation.XmlTransient

 

 

 

 

 

28. javax.xml.bind.annotation.XmlType

 

 

 

 

 

29. javax.xml.bind.annotation.XmlValue

 

 

 

 

 

30. javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter

 

 

 

 

 

31. javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters

 

 

 

 

JSR-224 (JAX-WS 2.0)

1. javax.xml.ws.BindingType

 

 

 

 

 

2. javax.xml.ws.RequestWrapper

 

 

 

 

 

3. javax.xml.ws.ResponseWrapper

 

 

 

 

 

4. javax.xml.ws.ServiceMode

 

 

 

 

 

5. javax.xml.ws.WebEndpoint

 

 

 

 

 

6. javax.xml.ws.WebFault

 

 

 

 

 

7. javax.xml.ws.WebServiceClient

 

 

 

 

 

8. javax.xml.ws.WebServiceProvider

 

 

 

 

 

9. javax.xml.ws.WebServiceRef

service-ref

 

 

 

 

10. javax.xml.ws.WebServiceRefs

 

 

 

 

 

11. javax.xml.ws.addressing.Action

 

 

 

 

 

12. javax.xml.ws.addressing.FaultAction

 

 

 

 

  • No labels