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

Compare with Current View Page History

« Previous Version 10 Next »

Here is a list of all Java EE 5 Annotations.

JSR

Annotation

Retention Policy

DD Tag(s)

Notes

JSR 250 (Common Annotations)

1. javax.annotation.Generated

SOURCE

 

 

 

2. javax.annotation.PostConstruct

RUNTIME

 

 

 

3. javax.annotation.PreDestroy

RUNTIME

 

 

 

4. javax.annotation.Resource

RUNTIME

 

 

 

5. javax.annotation.Resources

RUNTIME

 

 

 

6. javax.annotation.security.DeclareRoles

RUNTIME

 

 

 

7. javax.annotation.security.DenyAll

RUNTIME

 

 

 

8. javax.annotation.security.PermitAll

RUNTIME

 

 

 

9. javax.annotation.security.RolesAllowed

RUNTIME

 

 

 

10. javax.annotation.security.RunAs

RUNTIME

 

 

JSR-220 (EJB 3.0)

1. javax.ejb.ActivationConfigProperty

RUNTIME

 

 

 

2. javax.ejb.ApplicationException

RUNTIME

 

 

 

3. javax.ejb.EJB

RUNTIME

 

 

 

4. javax.ejb.EJBs

RUNTIME

 

 

 

5. javax.ejb.Init

RUNTIME

 

 

 

6. javax.ejb.Local

RUNTIME

 

 

 

7. javax.ejb.LocalHome

RUNTIME

 

 

 

8. javax.ejb.MessageDriven

RUNTIME

 

 

 

9. javax.ejb.PostActivate

RUNTIME

 

 

 

10. javax.ejb.PrePassivate

RUNTIME

 

 

 

11. javax.ejb.Remote

RUNTIME

 

 

 

12. javax.ejb.RemoteHome

RUNTIME

 

 

 

13. javax.ejb.Remove

RUNTIME

 

 

 

14. javax.ejb.Stateful

RUNTIME

 

 

 

15. javax.ejb.Stateless

RUNTIME

 

 

 

16. javax.ejb.Timeout

RUNTIME

 

 

 

17. javax.ejb.TransactionAttribute

RUNTIME

 

 

 

18. javax.ejb.TransactionManagement

RUNTIME

 

 

JSR-220 (EJB 3.0)

1. javax.interceptor.AroundInvoke

 

 

 

 

2. javax.interceptor.ExcludeClassInterceptors

 

 

 

 

3. javax.interceptor.ExcludeDefaultInterceptors

 

 

 

 

4. javax.interceptor.Interceptors

 

 

 

JSR-181 (Web Services Metadata 2.0)

1. javax.jws.HandlerChain

 

 

 

 

2. javax.jws.Oneway

 

 

 

 

3. javax.jws.WebMethod

 

 

 

 

4. javax.jws.WebParam

 

 

 

 

5. javax.jws.WebResult

 

 

 

 

6. javax.jws.WebService

 

 

 

 

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

 

 

 

 

10. javax.xml.ws.WebServiceRefs

 

 

 

 

11. javax.xml.ws.addressing.Action

 

 

 

 

12. javax.xml.ws.addressing.FaultAction

 

 

 

  • No labels