Web Beans 1.0.0 Alpha 2 发布!

Web Beans 1.0.0 Alpha 2 发布!,第1张

Web Beans 1.0.0 Alpha 2 ,已经实现了jsr-299中80%的功能。值得注意的是,jsr-299已经更名为Java Contexts and Dependency Injection。JBoss 保留了Web Beans作为项目名称。

具体参见:

http://in.relation.to/Bloggers/WebBeans100ALPHA2Released

这次发布版本带的新特性:

  • Injection of new instances via @New
  • Support for passivating scope
  • Updates to metadata inheritance rules
  • specialization
  • realization
  • injection point metadata
  • injection via @Resource, @EJB and @PersistenceContext into simple beans

之前的alpha 1已经支持以下特性。

  • support for simple beans
  • support for enterprise beans and enterprise bean remove methods
  • typesafe and name based resolution
  • producer methods
  • producer fields
  • the dependent context
  • support for JBoss 5
  • the servlet contexts: application, session and request
  • field and constructor injection
  • @Initializer methods
  • Event support (firing and observing events)
  • definition of observer methods through annotations
  • injection of event producers
  • conditional events
  • stereotypes
  • support for lifecycle callbacks (@PostConstruct and @PostDestroy)
  • an SPI to integrate with other containers

There is also preview support for:

  • transactional observers
  • dynamic lookup through @Obtains

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/2085423.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-07-22
下一篇 2022-07-22

发表评论

登录后才能评论

评论列表(0条)

保存