| Package | Description | 
|---|---|
| java.beans | Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture. | 
| java.lang | Provides classes that are fundamental to the design of the Java
 programming language. | 
| java.lang.annotation | Provides library support for the Java programming language
 annotation facility. | 
| javax.annotation | |
| javax.annotation.processing | Facilities for declaring annotation processors and for
 allowing annotation processors to communicate with an annotation processing
 tool environment. | 
| javax.management | Provides the core classes for the Java Management Extensions. | 
| javax.xml.ws | This package contains the core JAX-WS APIs. | 
| javax.xml.ws.soap | This package defines APIs specific to the SOAP binding. | 
| javax.xml.ws.spi | This package defines SPIs for JAX-WS. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | ConstructorPropertiesAn annotation on a constructor that shows how the parameters of
   that constructor correspond to the constructed object's getter
   methods. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | DeprecatedA program element annotated @Deprecated is one that programmers
 are discouraged from using, typically because it is dangerous,
 or because a better alternative exists. | 
| interface  | FunctionalInterfaceAn informative annotation type used to indicate that an interface
 type declaration is intended to be a functional interface as
 defined by the Java Language Specification. | 
| interface  | SafeVarargsA programmer assertion that the body of the annotated method or
 constructor does not perform potentially unsafe operations on its
 varargs parameter. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | DocumentedIndicates that annotations with a type are to be documented by javadoc
 and similar tools by default. | 
| interface  | InheritedIndicates that an annotation type is automatically inherited. | 
| interface  | NativeIndicates that a field defining a constant value may be referenced
 from native code. | 
| interface  | RepeatableThe annotation type  java.lang.annotation.Repeatableis
 used to indicate that the annotation type whose declaration it
 (meta-)annotates is repeatable. | 
| interface  | RetentionIndicates how long annotations with the annotated type are to
 be retained. | 
| interface  | TargetIndicates the contexts in which an annotation type is applicable. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | GeneratedThe Generated annotation is used to mark source code that has been generated. | 
| interface  | PostConstructThe PostConstruct annotation is used on a method that needs to be executed
 after dependency injection is done to perform any initialization. | 
| interface  | PreDestroyThe PreDestroy annotation is used on methods as a callback notification to
 signal that the instance is in the process of being removed by the
 container. | 
| interface  | ResourcesThis class is used to allow multiple resources declarations. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | SupportedAnnotationTypesAn annotation used to indicate what annotation types an annotation
 processor supports. | 
| interface  | SupportedOptionsAn annotation used to indicate what options an annotation processor
 supports. | 
| interface  | SupportedSourceVersionAn annotation used to indicate the latest source version an
 annotation processor supports. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | DescriptorKeyMeta-annotation that describes how an annotation element relates
 to a field in a  Descriptor. | 
| interface  | MXBeanAnnotation to mark an interface explicitly as being an MXBean
    interface, or as not being an MXBean interface. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | ActionThe  Actionannotation allows explicit association of a
 WS-AddressingActionmessage addressing property withinput,output, andfaultmessages of the mapped WSDL operation. | 
| interface  | BindingTypeThe  BindingTypeannotation is used to
  specify the binding to use for a web service
  endpoint implementation class. | 
| interface  | FaultActionThe  FaultActionannotation is used inside anActionannotation to allow an explicit association of a WS-AddressingActionmessage addressing property with thefaultmessages of the WSDL operation mapped from the exception class. | 
| interface  | RequestWrapperUsed to annotate methods in the Service Endpoint Interface with the request
 wrapper bean to be used at runtime. | 
| interface  | RespectBindingThis feature clarifies the use of the  wsdl:bindingin a JAX-WS runtime. | 
| interface  | ResponseWrapperUsed to annotate methods in the Service Endpoint Interface with the response
 wrapper bean to be used at runtime. | 
| interface  | ServiceModeUsed to indicate whether a  Providerimplementation wishes to work
 with entire protocol messages or just with protocol message payloads. | 
| interface  | WebEndpointUsed to annotate the  getPortName()methods of a generated service interface. | 
| interface  | WebFaultUsed to annotate service specific exception classes to customize
 to the local and namespace name of the fault element and the name
 of the fault bean. | 
| interface  | WebServiceClientUsed to annotate a generated service interface. | 
| interface  | WebServiceProviderUsed to annotate a Provider implementation class. | 
| interface  | WebServiceRefThe  WebServiceRefannotation is used to
 define a reference to a web service and
 (optionally) an injection target for it. | 
| interface  | WebServiceRefsThe  WebServiceRefsannotation allows
 multiple web service references to be declared at the
 class level. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | AddressingThis annotation represents the use of WS-Addressing with either
 the SOAP 1.1/HTTP or SOAP 1.2/HTTP binding. | 
| interface  | MTOMThis feature represents the use of MTOM with a
 web service. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | WebServiceFeatureAnnotationAnnotation used to identify other annotations
 as a  WebServiceFeature. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.