JBoss Weld CDI for Java Platform : learn CDI concepts and develop modern web applications using JBoss Weld /
Writing a Portable Extension; What is a portable extension?; What is the CDI container lifecycle?; BeanManager; Injection into non-container managed instances; Registering a bean; Replacing annotations on a type via an extension; Summary; Book Store - CDI Services; Overview of the application; Addin...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2013.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; What is a Bean?; The history of beans; Definition of a bean; Is my class a bean?; What does it mean to be a bean?; Bean types; Qualifiers; Scope; Expression Language (EL); Alternatives; Which classes are beans?; Managed Beans; Session Beans; Producers; Producer methods; Producer fields; Summary; Dependency Injection and Lookup; What is an injection point?; Typesafe resolution; Qualifiers; @Default and @Any; Qualifier members; Alternatives; Resolving Weld deployment errors.
- Client proxiesUnproxyable bean types; Programmatic lookup of contextual instances; Injection point metadata; Summary; Deploying JBoss Weld; JBoss Weld distribution; JBoss AS; Glassfish; Apache Tomcat; Summary; Scopes and Contexts; Scope types; Built-in scopes; The request context lifecycle; The session context lifecycle; The application context lifecycle; The conversation scope; The conversation context lifecycle; Conversation propagation; Conversation timeout; Pseudo scopes; Custom scopes; Summary; Producers; The scope of a producer; Injection into producer methods.
- Dependent beans for producersCleanup of produced beans; Summary; Interceptors and Decorators; Interceptor bindings; Creating and enabling an interceptor; Advanced interceptors; Interceptor binding types with members; Combining interceptor binding types; Inheritance of interceptor binding types; What is a decorator delegate?; Enabling a decorator; Summary; Events; What is a payload?; How do I listen for an event?; How do I fire an event?; Event qualifiers; Members of event qualifiers; Combining event qualifiers; Observing events in different transaction phases; Event-observer bean creation.