Uses of Class
java.lang.annotation.Retention
-
Packages that use Retention 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.javafx.beans The packagejavafx.beans
contains the interfaces that define the most generic form of observability.javafx.fxml Contains classes for loading an object hierarchy from markup.javax.annotation javax.annotation.processing Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.javax.jws javax.jws.soap javax.management Provides the core classes for the Java Management Extensions.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.xml.bind.annotation Defines annotations for customizing Java program elements to XML Schema mapping.javax.xml.bind.annotation.adapters XmlAdapter
and its spec-defined sub-classes to allow arbitrary Java classes to be used with JAXB.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.jdk.jfr This package contains classes to create events and control Flight Recorder. -
-
Uses of Retention in java.beans
Classes in java.beans with annotations of type Retention Modifier and Type Class Description interface
BeanProperty
An annotation used to specify some property-related information for the automatically generatedBeanInfo
classes.interface
ConstructorProperties
An annotation on a constructor that shows how the parameters of that constructor correspond to the constructed object's getter methods.interface
JavaBean
An annotation used to specify some class-related information for the automatically generatedBeanInfo
classes.interface
Transient
Indicates that an attribute called "transient" should be declared with the givenvalue
when theIntrospector
constructs aPropertyDescriptor
orEventSetDescriptor
classes associated with the annotated code element. -
Uses of Retention in java.lang
Classes in java.lang with annotations of type Retention Modifier and Type Class Description interface
Deprecated
A program element annotated@Deprecated
is one that programmers are discouraged from using.interface
FunctionalInterface
An 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
Override
Indicates that a method declaration is intended to override a method declaration in a supertype.interface
SafeVarargs
A programmer assertion that the body of the annotated method or constructor does not perform potentially unsafe operations on its varargs parameter.interface
SuppressWarnings
Indicates that the named compiler warnings should be suppressed in the annotated element (and in all program elements contained in the annotated element). -
Uses of Retention in java.lang.annotation
Classes in java.lang.annotation with annotations of type Retention Modifier and Type Class Description interface
Documented
If the annotation@Documented
is present on the declaration of an annotation type A, then any@A
annotation on an element is considered part of the element's public contract.interface
Inherited
Indicates that an annotation type is automatically inherited.interface
Native
Indicates that a field defining a constant value may be referenced from native code.interface
Repeatable
The annotation typejava.lang.annotation.Repeatable
is used to indicate that the annotation type whose declaration it (meta-)annotates is repeatable.interface
Retention
Indicates how long annotations with the annotated type are to be retained.interface
Target
Indicates the contexts in which an annotation type is applicable. -
Uses of Retention in javafx.beans
Classes in javafx.beans with annotations of type Retention Modifier and Type Class Description interface
DefaultProperty
Specifies a property to which child elements will be added or set when an explicit property is not given.interface
NamedArg
Annotation that provides information about argument's name. -
Uses of Retention in javafx.fxml
Classes in javafx.fxml with annotations of type Retention Modifier and Type Class Description interface
FXML
Annotation that tags a field or method as accessible to markup. -
Uses of Retention in javax.annotation
Classes in javax.annotation with annotations of type Retention Modifier and Type Class Description interface
Generated
The Generated annotation is used to mark source code that has been generated.interface
PostConstruct
The PostConstruct annotation is used on a method that needs to be executed after dependency injection is done to perform any initialization.interface
PreDestroy
The 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
Resource
The Resource annotation marks a resource that is needed by the application.interface
Resources
This class is used to allow multiple resources declarations. -
Uses of Retention in javax.annotation.processing
Classes in javax.annotation.processing with annotations of type Retention Modifier and Type Class Description interface
Generated
The Generated annotation is used to mark source code that has been generated.interface
SupportedAnnotationTypes
An annotation used to indicate what annotation types an annotation processor supports.interface
SupportedOptions
An annotation used to indicate what options an annotation processor supports.interface
SupportedSourceVersion
An annotation used to indicate the latest source version an annotation processor supports. -
Uses of Retention in javax.jws
Classes in javax.jws with annotations of type Retention Modifier and Type Class Description interface
HandlerChain
interface
Oneway
interface
WebMethod
interface
WebParam
interface
WebResult
interface
WebService
-
Uses of Retention in javax.jws.soap
Classes in javax.jws.soap with annotations of type Retention Modifier and Type Class Description interface
SOAPBinding
interface
SOAPMessageHandlers
Deprecated. -
Uses of Retention in javax.management
Classes in javax.management with annotations of type Retention Modifier and Type Class Description interface
ConstructorParameters
An annotation on a constructor that shows how the parameters of that constructor correspond to the constructed object's getter methods.interface
DescriptorKey
Meta-annotation that describes how an annotation element relates to a field in aDescriptor
.interface
MXBean
Annotation to mark an interface explicitly as being an MXBean interface, or as not being an MXBean interface. -
Uses of Retention in javax.swing
Classes in javax.swing with annotations of type Retention Modifier and Type Class Description interface
SwingContainer
An annotation used to specify some swing-related information for the automatically generatedBeanInfo
classes. -
Uses of Retention in javax.xml.bind.annotation
Classes in javax.xml.bind.annotation with annotations of type Retention Modifier and Type Class Description interface
XmlAccessorOrder
Controls the ordering of fields and properties in a class.interface
XmlAccessorType
Controls whether fields or Javabean properties are serialized by default.interface
XmlAnyAttribute
Maps a JavaBean property to a map of wildcard attributes.interface
XmlAnyElement
Maps a JavaBean property to XML infoset representation and/or JAXB element.interface
XmlAttachmentRef
Marks a field/property that its XML form is a uri reference to mime content.interface
XmlAttribute
Maps a JavaBean property to a XML attribute.interface
XmlElement
Maps a JavaBean property to a XML element derived from property name.interface
XmlElementDecl
Maps a factory method to a XML element.interface
XmlElementRef
Maps a JavaBean property to a XML element derived from property's type.interface
XmlElementRefs
Marks a property that refers to classes withXmlElement
or JAXBElement.interface
XmlElements
A container for multiple @XmlElement
annotations.interface
XmlElementWrapper
Generates a wrapper element around XML representation.interface
XmlEnum
Maps an enum typeEnum
to XML representation.interface
XmlEnumValue
Maps an enum constant inEnum
type to XML representation.interface
XmlID
Maps a JavaBean property to XML ID.interface
XmlIDREF
Maps a JavaBean property to XML IDREF.interface
XmlInlineBinaryData
Disable consideration of XOP encoding for datatypes that are bound to base64-encoded binary data in XML.interface
XmlList
Used to map a property to a list simple type.interface
XmlMimeType
Associates the MIME type that controls the XML representation of the property.interface
XmlMixed
Annotate a JavaBean multi-valued property to support mixed content.interface
XmlNs
Associates a namespace prefix with a XML namespace URI.interface
XmlRegistry
Marks a class that hasXmlElementDecl
s.interface
XmlRootElement
Maps a class or an enum type to an XML element.interface
XmlSchema
Maps a package name to a XML namespace.interface
XmlSchemaType
Maps a Java type to a simple schema built-in type.interface
XmlSchemaTypes
A container for multiple @XmlSchemaType
annotations.interface
XmlSeeAlso
Instructs JAXB to also bind other classes when binding this class.interface
XmlTransient
Prevents the mapping of a JavaBean property/type to XML representation.interface
XmlType
Maps a class or an enum type to a XML Schema type.interface
XmlValue
Enables mapping a class to a XML Schema complex type with a simpleContent or a XML Schema simple type. -
Uses of Retention in javax.xml.bind.annotation.adapters
Classes in javax.xml.bind.annotation.adapters with annotations of type Retention Modifier and Type Class Description interface
XmlJavaTypeAdapter
Use an adapter that implementsXmlAdapter
for custom marshaling.interface
XmlJavaTypeAdapters
A container for multiple @XmlJavaTypeAdapter
annotations. -
Uses of Retention in javax.xml.ws
Classes in javax.xml.ws with annotations of type Retention Modifier and Type Class Description interface
Action
TheAction
annotation allows explicit association of a WS-AddressingAction
message addressing property withinput
,output
, andfault
messages of the mapped WSDL operation.interface
BindingType
TheBindingType
annotation is used to specify the binding to use for a web service endpoint implementation class.interface
FaultAction
TheFaultAction
annotation is used inside anAction
annotation to allow an explicit association of a WS-AddressingAction
message addressing property with thefault
messages of the WSDL operation mapped from the exception class.interface
RequestWrapper
Used to annotate methods in the Service Endpoint Interface with the request wrapper bean to be used at runtime.interface
RespectBinding
This feature clarifies the use of thewsdl:binding
in a JAX-WS runtime.interface
ResponseWrapper
Used to annotate methods in the Service Endpoint Interface with the response wrapper bean to be used at runtime.interface
ServiceMode
Used to indicate whether aProvider
implementation wishes to work with entire protocol messages or just with protocol message payloads.interface
WebEndpoint
Used to annotate thegetPortName()
methods of a generated service interface.interface
WebFault
Used 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
WebServiceClient
Used to annotate a generated service interface.interface
WebServiceProvider
Used to annotate a Provider implementation class.interface
WebServiceRef
TheWebServiceRef
annotation is used to define a reference to a web service and (optionally) an injection target for it.interface
WebServiceRefs
TheWebServiceRefs
annotation allows multiple web service references to be declared at the class level. -
Uses of Retention in javax.xml.ws.soap
Classes in javax.xml.ws.soap with annotations of type Retention Modifier and Type Class Description interface
Addressing
This annotation represents the use of WS-Addressing with either the SOAP 1.1/HTTP or SOAP 1.2/HTTP binding.interface
MTOM
This feature represents the use of MTOM with a web service. -
Uses of Retention in javax.xml.ws.spi
Classes in javax.xml.ws.spi with annotations of type Retention Modifier and Type Class Description interface
WebServiceFeatureAnnotation
Annotation used to identify other annotations as aWebServiceFeature
. -
Uses of Retention in jdk.jfr
Classes in jdk.jfr with annotations of type Retention Modifier and Type Class Description interface
BooleanFlag
Event field annotation, signifies that value is a boolean flag, atrue
orfalse
valueinterface
Category
Event annotation, to associate the event type with a category, in the format of a human readable path.interface
ContentType
Meta annotation, signifies that an annotation represents a content type, such as a timespan or a frequency.interface
DataAmount
Event field annotation, signifies that a value represents an amount of data, for example bytes.interface
Description
Annotation that describes an element with a sentence or two.interface
Enabled
Event annotation, determines if an event should be enabled by default.interface
Experimental
Annotation that signifies that an element is experimental and may change without further notice.interface
Frequency
Event field annotation, signifies that value is a frequency, measured in Hz.interface
Label
Annotation that sets a human-readable name for an element, for example"Maximum Throughput"
.interface
MemoryAddress
Event field annotation, signifies that value is a memory address.interface
MetadataDefinition
Meta annotation for defining new types of event metadata.interface
Name
Annotation that overrides the default name for an element, for instance when the default package for an event is not appropriate.interface
Percentage
Event field annotation to be used on fractions, typically between0.0
and1.0
, to signify that the value is a percentage.interface
Period
Event annotation, determines the default period for a periodic event.interface
Registered
Event annotation, for programmatic event registration.interface
Relational
Meta annotation for relational annotations, to be used on annotation.interface
SettingDefinition
Annotation that signifies that a method in an event class should be used to filter out events.interface
StackTrace
Event annotation, determines if an event should by default have a stack trace or not.interface
Threshold
Event annotation, determines the default cut-off below which an event should not be recorded, for example"20 ms"
.interface
Timespan
Event field annotation, signifies that value is a duration.interface
Timestamp
Event field annotation, signifies that value is a point in time.interface
TransitionFrom
Event field annotation, signifies that the event transitioned from a thread.interface
TransitionTo
Event field annotation, signifies that the event is about to transitions to a thread.interface
Unsigned
Event field annotation, signifies that value is as unsigned data type.
-