|
| Home > Apache Geronimo v2.1 > Documentation > Developer's guide > Tutorials > Annotations |
| JSR | Annotation | Deployment Descriptor Tag(s) |
Supported in | Notes |
|---|---|---|---|---|
| JSR 250 (Common Annotations) |
1. javax.annotation.Generated | The only annotation with SOURCE retention. All the others are RUNTIME. | ||
| 2. javax.annotation.PostConstruct | <post-construct> | |
Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection |
|
| 3. javax.annotation.PreDestroy | <pre-destroy> | |
|
|
| 4. javax.annotation.Resource | 1. <env-entry> | |
|
|
| 4. javax.annotation.Resource | 2. <service-ref> | |
|
|
| 4. javax.annotation.Resource | 3. <resource-ref> | |
|
|
| 4. javax.annotation.Resource | 4. <message-destination-ref> | |
|
|
| 4. javax.annotation.Resource | 5. <resource-env-ref> | |
|
|
| 4. javax.annotation.Resource | 6. <webservice-context> | |
|
|
| 5. javax.annotation.Resources | Same as javax.annotation.Resource | |||
| 6. javax.annotation.security.DeclareRoles | <security-role-ref> | |
||
| 7. javax.annotation.security.DenyAll | |
Not supported in servlets. See Java™ Platform, Enterprise Edition (Java EE) Specification, v5, Page 141, Section EE.6.24, Table EE.6-E | ||
| 8. javax.annotation.security.PermitAll | <unchecked> | |
Not supported in servlets. See Java™ Platform, Enterprise Edition (Java EE) Specification, v5, Page 141, Section EE.6.24, Table EE.6-E | |
| 9. javax.annotation.security.RolesAllowed | <role-name> | |
Not supported in servlets. See Java™ Platform, Enterprise Edition (Java EE) Specification, v5, Page 141, Section EE.6.24, Table EE.6-E | |
| 10. javax.annotation.security.RunAs | <run-as> | |
Servlets only. See Java™ Platform, Enterprise Edition (Java EE) Specification, v5, Page 141, Section EE.6.24, Table EE.6-E | |
| JSR | Annotation | Deployment Descriptor Tag(s) |
Supported in | Notes |
| JSR-220 (EJB 3.0) |
1. javax.ejb.ActivationConfigProperty | <activation-config-property> | |
|
| 2. javax.ejb.ApplicationException | <application-exception> | |
||
| 3. javax.ejb.EJB | 1. <ejb-ref> | |
|
|
| 3. javax.ejb.EJB | 2. <ejb-local-ref> | |
|
|
| 4. javax.ejb.EJBs | Same as javax.ejb.EJB | |||
| 5. javax.ejb.Init | |
|||
| 6. javax.ejb.Local | <local> | |
||
| 7. javax.ejb.LocalHome | <local-home> | |
||
| 8. javax.ejb.MessageDriven | <message-driven> | |
||
| 9. javax.ejb.PostActivate | <post-activate> | |
||
| 10. javax.ejb.PrePassivate | <pre-passivate> | |
||
| 11. javax.ejb.Remote | <remote> | |
||
| 12. javax.ejb.RemoteHome | <home> | |
||
| 13. javax.ejb.Remove | |
|||
| 14. javax.ejb.Stateful | <stateful> | |
||
| 15. javax.ejb.Stateless | <stateless> | |
||
| 16. javax.ejb.Timeout | |
|||
| 17. javax.ejb.TransactionAttribute | <trans-attribute> | |
||
| 18. javax.ejb.TransactionManagement | |
|||
| JSR | Annotation | Deployment Descriptor Tag(s) |
Supported in | Notes |
| 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 | Annotation | Deployment Descriptor Tag(s) |
Supported in | Notes |
| JSR-181 (Web Services Metadata 2.0) |
1. javax.jws.HandlerChain | <handler-chain> | |
for the JavaTM Platform, Section 4.6 Annotation HandlerChain |
| 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 | Same as javax.jws.soap.SOAPMessageHandler | |||
| JSR | Annotation | Deployment Descriptor Tag(s) |
Supported in | Notes |
| JSR-220 (JPA 1.0) |
1. javax.persistence.AssociationOverride | |
||
| 2. javax.persistence.AssociationOverrides | Same as javax.persistence.AssociationOverride | |||
| 3. javax.persistence.AttributeOverride | |
|||
| 4. javax.persistence.AttributeOverrides | javax.persistence.AttributeOverride | |||
| 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 | Same as javax.persistence.JoinColumn | |||
| 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 | <persistence-context-ref> | |
|
|
| 40. javax.persistence.PersistenceContexts | Same as javax.persistence.PersistenceContext | |||
| 41. javax.persistence.PersistenceProperty | <persistence-property> | |
||
| 42. javax.persistence.PersistenceUnit | <persistence-unit-ref> | |
|
|
| 43. javax.persistence.PersistenceUnits | Same as 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 | Same as javax.persistence.PrimaryKeyJoinColumn | |||
| 53. javax.persistence.QueryHint | |
|||
| 54. javax.persistence.SecondaryTable | |
|||
| 55. javax.persistence.SecondaryTables | Same as javax.persistence.SecondaryTable | |||
| 56. javax.persistence.SequenceGenerator | |
|||
| 57. javax.persistence.SqlResultSetMapping | |
|||
| 58. javax.persistence.SqlResultSetMappings | Same as javax.persistence.SqlResultSetMapping | |||
| 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 | Annotation | Deployment Descriptor Tag(s) |
Supported in | Notes |
| 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 | Same as javax.xml.bind.annotation.XmlElementRef | |||
| 11. javax.xml.bind.annotation.XmlElementWrapper | |
|||
| 12. javax.xml.bind.annotation.XmlElements | Same as javax.xml.bind.annotation.XmlElement | |||
| 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 | Same as javax.xml.bind.annotation.XmlSchemaType | |||
| 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 | Same as javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter | |||
| JSR | Annotation | Deployment Descriptor Tag(s) |
Supported_in | Notes |
| 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 | Same as javax.xml.ws.WebServiceRef | |||
| 11. javax.xml.ws.addressing.Action | |
|||
| 12. javax.xml.ws.addressing.FaultAction | |
|
|
Privacy Policy - Copyright © 2003-2009, The Apache Software Foundation, Licensed under ASL 2.0. |