Package javax.enterprise.context Description

Package javax.enterprise.context Description :
Annotations and interfaces relating to scopes and contexts.
涉及到范围和上下文的注解和接口。

A scope type is a Java annotation annotated @Scope or @NormalScope. The scope of a
bean determines the lifecycle and visibility of its instances. In particular, the scope determines:
一个scope类型是一个java注解,注解为@Scope或@NormalScope。一个bean的范围决定了它的生命周期和实例的可见性。某种意义上来说,它决定了:

    When a new instance of the bean is created
    When an existing instance of the bean is destroyed
    Which injected references refer to any instance of the bean
何时一个新实例被创建
何时一个存在的实例被销毁
谁注入对某个bean的引用。
[url]
http://docs.oracle.com/javaee/6/api/javax/enterprise/context/package-summary.html#package_description[/url]

学习学习,再学习,j2ee的标准真他妈的多啊!

你可能感兴趣的:(package)