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

Compare with Current View Page History

« Previous Version 5 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

 

 

 

 

2. javax.annotation.PostConstruct

 

 

 

 

3. javax.annotation.PreDestroy

 

 

 

 

4. javax.annotation.Resource

 

 

 

 

5. javax.annotation.Resources

 

 

 

 

6. javax.annotation.security.DeclareRoles

 

 

 

 

7. javax.annotation.security.DenyAll

 

 

 

 

8. javax.annotation.security.PermitAll

 

 

 

 

9. javax.annotation.security.RolesAllowed

 

 

 

 

10. javax.annotation.security.RunAs

 

 

 

JSR-220 (EJB 3.0)

1. javax.ejb.ActivationConfigProperty

 

 

 

 

2. javax.ejb.ApplicationException

 

 

 

 

3. javax.ejb.EJB

 

 

 

 

4. javax.ejb.EJBs

 

 

 

 

5. javax.ejb.Init

 

 

 

 

6. javax.ejb.Local

 

 

 

 

7. javax.ejb.LocalHome

 

 

 

 

8. javax.ejb.MessageDriven

 

 

 

 

9. javax.ejb.PostActivate

 

 

 

 

10. javax.ejb.PrePassivate

 

 

 

 

11. javax.ejb.Remote

 

 

 

 

12. javax.ejb.RemoteHome

 

 

 

 

13. javax.ejb.Remove

 

 

 

 

14. javax.ejb.Stateful

 

 

 

 

15. javax.ejb.Stateless

 

 

 

 

16. javax.ejb.Timeout

 

 

 

 

17. javax.ejb.TransactionAttribute

 

 

 

 

18. javax.ejb.TransactionManagement

 

 

 

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

 

 

 

 

javax.persistence.DiscriminatorValue

 

 

 

 

javax.persistence.Embeddable

 

 

 

 

javax.persistence.Embedded

 

 

 

 

javax.persistence.EmbeddedId

 

 

 

 

javax.persistence.Entity

 

 

 

 

javax.persistence.EntityListeners

 

 

 

 

javax.persistence.EntityResult

 

 

 

 

javax.persistence.Enumerated

 

 

 

 

javax.persistence.ExcludeDefaultListeners

 

 

 

 

javax.persistence.ExcludeSuperclassListeners

 

 

 

 

javax.persistence.FieldResult

 

 

 

 

javax.persistence.GeneratedValue

 

 

 

 

javax.persistence.Id

 

 

 

 

javax.persistence.IdClass

 

 

 

 

javax.persistence.Inheritance

 

 

 

 

javax.persistence.JoinColumn

 

 

 

 

javax.persistence.JoinColumns

 

 

 

 

javax.persistence.JoinTable

 

 

 

 

javax.persistence.Lob

 

 

 

 

javax.persistence.ManyToMany

 

 

 

 

javax.persistence.ManyToOne

 

 

 

 

javax.persistence.MapKey

 

 

 

 

javax.persistence.MappedSuperclass

 

 

 

 

javax.persistence.NamedNativeQueries

 

 

 

 

javax.persistence.NamedNativeQuery

 

 

 

 

javax.persistence.NamedQueries

 

 

 

 

javax.persistence.NamedQuery

 

 

 

 

javax.persistence.OneToMany

 

 

 

 

javax.persistence.OneToOne

 

 

 

 

javax.persistence.OrderBy

 

 

 

 

javax.persistence.PersistenceContext

 

 

 

 

javax.persistence.PersistenceContexts

 

 

 

 

javax.persistence.PersistenceProperty

 

 

 

 

javax.persistence.PersistenceUnit

 

 

 

 

javax.persistence.PersistenceUnits

 

 

 

 

javax.persistence.PostLoad

 

 

 

 

javax.persistence.PostPersist

 

 

 

 

javax.persistence.PostRemove

 

 

 

 

javax.persistence.PostUpdate

 

 

 

 

javax.persistence.PrePersist

 

 

 

 

javax.persistence.PreRemove

 

 

 

 

javax.persistence.PreUpdate

 

 

 

 

javax.persistence.PrimaryKeyJoinColumn

 

 

 

 

javax.persistence.PrimaryKeyJoinColumns

 

 

 

 

javax.persistence.QueryHint

 

 

 

 

javax.persistence.SecondaryTable

 

 

 

 

javax.persistence.SecondaryTables

 

 

 

 

javax.persistence.SequenceGenerator

 

 

 

 

javax.persistence.SqlResultSetMapping

 

 

 

 

javax.persistence.SqlResultSetMappings

 

 

 

 

javax.persistence.Table

 

 

 

 

javax.persistence.TableGenerator

 

 

 

 

javax.persistence.Temporal

 

 

 

 

javax.persistence.Transient

 

 

 

 

javax.persistence.UniqueConstraint

 

 

 

 

javax.persistence.Version

 

 

 

JSR-222 (JAXB 2.0)

javax.xml.bind.annotation.XmlAccessorOrder

 

 

 

 

javax.xml.bind.annotation.XmlAccessorType

 

 

 

 

javax.xml.bind.annotation.XmlAnyAttribute

 

 

 

 

javax.xml.bind.annotation.XmlAnyElement

 

 

 

 

javax.xml.bind.annotation.XmlAttachmentRef

 

 

 

 

javax.xml.bind.annotation.XmlAttribute

 

 

 

 

javax.xml.bind.annotation.XmlElement

 

 

 

 

javax.xml.bind.annotation.XmlElementDecl

 

 

 

 

javax.xml.bind.annotation.XmlElementRef

 

 

 

 

javax.xml.bind.annotation.XmlElementRefs

 

 

 

 

javax.xml.bind.annotation.XmlElementWrapper

 

 

 

 

javax.xml.bind.annotation.XmlElements

 

 

 

 

javax.xml.bind.annotation.XmlEnum

 

 

 

 

javax.xml.bind.annotation.XmlEnumValue

 

 

 

 

javax.xml.bind.annotation.XmlID

 

 

 

 

javax.xml.bind.annotation.XmlIDREF

 

 

 

 

javax.xml.bind.annotation.XmlInlineBinaryData

 

 

 

 

javax.xml.bind.annotation.XmlList

 

 

 

 

javax.xml.bind.annotation.XmlMimeType

 

 

 

 

javax.xml.bind.annotation.XmlMixed

 

 

 

 

javax.xml.bind.annotation.XmlNs

 

 

 

 

javax.xml.bind.annotation.XmlRegistry

 

 

 

 

javax.xml.bind.annotation.XmlRootElement

 

 

 

 

javax.xml.bind.annotation.XmlSchema

 

 

 

 

javax.xml.bind.annotation.XmlSchemaType

 

 

 

 

javax.xml.bind.annotation.XmlSchemaTypes

 

 

 

 

javax.xml.bind.annotation.XmlTransient

 

 

 

 

javax.xml.bind.annotation.XmlType

 

 

 

 

javax.xml.bind.annotation.XmlValue

 

 

 

 

javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter

 

 

 

 

javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters

 

 

 

 

javax.xml.ws.BindingType

 

 

 

 

javax.xml.ws.RequestWrapper

 

 

 

 

javax.xml.ws.ResponseWrapper

 

 

 

 

javax.xml.ws.ServiceMode

 

 

 

 

javax.xml.ws.WebEndpoint

 

 

 

 

javax.xml.ws.WebFault

 

 

 

 

javax.xml.ws.WebServiceClient

 

 

 

 

javax.xml.ws.WebServiceProvider

 

 

 

 

javax.xml.ws.WebServiceRef

 

 

 

 

javax.xml.ws.WebServiceRefs

 

 

 

 

javax.xml.ws.addressing.Action

 

 

 

 

javax.xml.ws.addressing.FaultAction

 

 

 

  • No labels