JSR 250 자바플랫폼 공통 애노테이션

(JSR 250 자바 플랫폼 공통 애노테이션에서 넘어옴)
JSR 250: Common Annotations for the Java Platform
JSR 250 자바 플랫폼 공통 애노테이션

1 목록[ | ]

애노테이션명 설명
Generated Marks sources that have been generated
Resource Declares a reference to a resource, e.g. a database
Resources Container for multiple Resource annotations
PostConstruct Is used on methods that need to get executed after dependency injection is done to perform any initialization.
PreDestroy Is used on methods that are called before the instance is removed from the container
Priority Is used to indicate in what order the classes should be used. For, e.g., the Interceptors specification defines the use of priorities on interceptors to control the order in which interceptors are called.
RunAs Defines the role of the application during execution in a Java EE container
RolesAllowed Specifies the security roles permitted to access method(s) in an application.
PermitAll Specifies that all security roles are permitted to access the annotated method, or all methods in the annotated class.
DenyAll Specifies that no security roles are allowed to invoke the specified method(s).
DeclareRoles Used to specify the security roles by the application.
DataSourceDefinition Is used to define a container DataSource and be registered with JNDI. The DataSource may be configured by setting the annotation elements for commonly used DataSource properties.
ManagedBean Is used to declare a Managed Bean which are container managed objects that support a small set of basic services such as resource injection, lifecycle callbacks and interceptors.

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}