Package javax.annotation


package javax.annotation
This package defines the common annotations.
  • Class
    Description
    The Generated annoation is used to mark source code that has been generated.
    The ManagedBean annotation marks a POJO (Plain Old Java Object) as a ManagedBean.A ManagedBean supports a small set of basic services such as resource injection, lifecycle callbacks and interceptors.
    The PostConstruct annotation is used on a method that needs to be executed after dependency injection is done to perform any initialization.
    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.
     
    The Resource annotation marks a resource that is needed by the application.
    The two possible authentication types for a resource.
    This class is used to allow multiple resources declarations.