Index
A
- @Alternative annotation / Definition of a bean, Alternatives, Alternatives
- @Alternative bean / Resolving Weld deployment errors
- @Any annotation / What is a decorator delegate?
- @Any qualifier / @Default and @Any
- @ApplicationScoped / What is a portable extension?
- @ApplicationScoped annotation / The application context lifecycle, The scope of a producer
- @ApplicationScoped annotation / Built-in scopes
- @ApplicationScoped bean / Client proxies
- @Audited annotation / Creating and enabling an interceptor, Inheritance of interceptor binding types
- @AuditLogged annotation / Inheritance of interceptor binding types
- Account entity / Overview of the application
- AccountRegistration bean / Conversation propagation
- administration interface
- about / Administration interface
- AfterBeanDiscovery event / Custom scopes, What is the CDI container lifecycle?
- AfterDeploymentValidation event / What is the CDI container lifecycle?
- afterFictionBookAdded() / Combining event qualifiers
- AFTER_COMPLETION transaction / Observing events in different transaction phases
- AFTER_FAILURE transaction / Observing events in different transaction phases
- AFTER_SUCCESS transaction / Observing events in different transaction phases
- alternatives
- about / Alternatives
- AnnotatatedTypeBuilder class / Replacing annotations on a type via an extension
- AnnotatedType event / What is the CDI container lifecycle?, Registering a bean, Replacing annotations on a type via an extension
- annotation
- replacing, on type via extension / Replacing annotations on a type via an extension
- AnnotationLiteral / Programmatic lookup of contextual instances
- AnnotationLiteral class / Event qualifiers
- Apache DeltaSpike / Replacing annotations on a type via an extension
- Apache Tomcat
- about / Apache Tomcat
- URL / Apache Tomcat
- application
- about / Overview of the application
- User entity / Overview of the application
- Account entity / Overview of the application
- Category entity / Overview of the application
- Author entity / Overview of the application
- Book entity / Overview of the application
- Order entity / Overview of the application
- application context
- lifecycle / The application context lifecycle
- Arquillian / Creating CDI services
- AuditLoggingInterceptor / Inheritance of interceptor binding types
- Author entity / Overview of the application
B
- @Book annotation / Programmatic lookup of contextual instances
- bean
- history / The history of beans
- about / Definition of a bean
- Java class / Is my class a bean?
- attributes / What does it mean to be a bean?
- types / Bean types
- qualifier / Qualifiers
- scope / Scope
- EL / Expression Language (EL)
- alternatives / Alternatives
- injecting, ways / What is an injection point?
- constructing / What is an injection point?
- dependent, for producers / Dependent beans for producers
- registering / Registering a bean
- bean, types
- Managed Beans / Managed Beans
- Session beans / Session Beans
- Producers / Producers
- unproxyable / Unproxyable bean types
- bean constructor parameter injection
- about / What is an injection point?
- Bean instance / Registering a bean
- BeanManager
- about / BeanManager
- BeanManager extension / What is the CDI container lifecycle?
- BeanManager extension / Apache Tomcat
- BeanManager methods / BeanManager
- beans.xml file / Is my class a bean?, Creating and enabling an interceptor, Providing a transaction with an interceptor
- BeforeBeanDiscovery event / What is the CDI container lifecycle?
- BeforeShutdown event event / What is the CDI container lifecycle?
- BEFORE_COMPLETION transaction / Observing events in different transaction phases
- begin() / The conversation context lifecycle
- book
- retrieving / REST services
- Book entity / Overview of the application
- BookLiteral class / Members of event qualifiers
- bookRemovedEvent.fire() / Event qualifiers
- built-in scope
- about / Built-in scopes
- @RequestScoped annotation / Built-in scopes
- @SessionScoped annotation / Built-in scopes
- @ApplicationScoped annotation / Built-in scopes
- @ConversationScoped annotation / Built-in scopes
- request context lifecycle / The request context lifecycle
- session context lifecycle / The session context lifecycle
- application context lifecycle / The application context lifecycle
C
- <class> elements / Creating and enabling an interceptor
- @ConversationScoped
- about / Built-in scopes
- @ConversationScoped annotation / The scope of a producer
- Category entity / Overview of the application
- CDI
- scope, types / Scope types
- built-in scope / Built-in scopes
- conversation scope / The conversation scope
- container lifecycle / What is the CDI container lifecycle?
- services, creating / Creating CDI services
- CDI interceptors / Creating and enabling an interceptor
- checkRoles() / Securing methods with an interceptor
- cid request parameter / Conversation propagation
- client proxy
- about / Client proxies
- unproxyable bean types / Unproxyable bean types
- conditional observer / Event-observer bean creation
- ConstraintViolationException / Creating CDI services
- container lifecycle
- BeforeBeanDiscovery event / What is the CDI container lifecycle?
- AfterBeanDiscovery event / What is the CDI container lifecycle?
- AfterDeploymentValidation event / What is the CDI container lifecycle?
- BeforeShutdown event event / What is the CDI container lifecycle?
- context.proceed() / Securing methods with an interceptor
- Context interface
- about / Custom scopes
- implementation / Custom scopes
- context object / Built-in scopes
- Contextual.create() / Custom scopes
- contextual instance
- about / Built-in scopes
- contextual instances
- obtaining, through injection / Programmatic lookup of contextual instances
- conversation.begin() / The conversation context lifecycle
- conversation.end() / The conversation context lifecycle
- conversation.getId() / Conversation propagation
- conversation context
- lifecycle / The conversation context lifecycle
- conversation propagation
- about / Conversation propagation
- conversation scope
- about / The conversation scope
- conversation context lifecycle / The conversation context lifecycle
- conversation propagation / Conversation propagation
- conversation timeout / Conversation timeout
- conversation timeout
- about / Conversation timeout
- createAccount() method / Combining interceptor binding types
- createUser() / Creating CDI services
- CreationalContext instance / Custom scopes
- CurrentUser entity / Creating CDI services, REST services
- custom scope
- about / Custom scopes
D
- @Decorator annotation / What is a decorator delegate?
- @Default annotation / Qualifiers
- @Default qualifier / @Default and @Any, Programmatic lookup of contextual instances, Injection point metadata
- @Dependent scope / Definition of a bean, Managed Beans, Client proxies, Scope types, Pseudo scopes
- @Disable annotation / What is the CDI container lifecycle?
- @Disposes annotation / Cleanup of produced beans
- decorator
- about / What is a decorator delegate?
- enabling / Enabling a decorator
- disposer method
- about / What is an injection point?
- doFilter() method / The request context lifecycle, The session context lifecycle
E
- EL
- about / Expression Language (EL)
- Enterprise JavaBeans (EJBs) / The history of beans
- EntityManager / Creating CDI services
- event
- listening / How do I listen for an event?
- firing / How do I fire an event?
- transactional observer methods / Observing events in different transaction phases
- event-observer bean
- creating / Event-observer bean creation
- Event.fire() / Event-observer bean creation
- event parameter / How do I listen for an event?
- event qualifiers
- about / Event qualifiers
- members / Members of event qualifiers
- combining / Combining event qualifiers
F
- final method / Unproxyable bean types
- fire() / How do I fire an event?
G
- get() / Custom scopes, Creating CDI services
- getAll() / Creating CDI services
- getAnnotated() function / Injection point metadata
- getBean() function / Injection point metadata
- getConversationId() / Conversation propagation
- getMember() function / Injection point metadata
- getQualifiers() function / Injection point metadata
- getRoleType() / Securing methods with an interceptor
- getScope() / Custom scopes
- getType() function / Injection point metadata
- Glassfish
H
- HttpSessionListener instance / The session context lifecycle
I
- @Inject annotation / Definition of a bean, What is an injection point?
- @Interceptor annotation / Creating and enabling an interceptor
- injection point
- about / What is an injection point?
- typesafe resolution / Typesafe resolution
- injecting / Resolving Weld deployment errors
- metadata / Injection point metadata
- getBean() function / Injection point metadata
- getType() function / Injection point metadata
- getQualifiers() function / Injection point metadata
- getMember() function / Injection point metadata
- getAnnotated() function / Injection point metadata
- injection point, types
- producer method / What is an injection point?
- observer method / What is an injection point?
- disposer method / What is an injection point?
- injectionTarget.produce() / Injection into non-container managed instances
- Instance parameterized / Programmatic lookup of contextual instances
- interceptor
- bindings / Interceptor bindings
- creating / Creating and enabling an interceptor
- enabling / Creating and enabling an interceptor
- adding, for services / Adding interceptors for our services
- methods, securing with / Securing methods with an interceptor
- methods, securing / Securing methods with an interceptor
- transaction, providing with / Providing a transaction with an interceptor
- transaction, providing / Providing a transaction with an interceptor
- interceptor binding types
- about / Advanced interceptors
- with members / Interceptor binding types with members
- combining / Combining interceptor binding types
- inheritance / Inheritance of interceptor binding types
- invalidate() / The session context lifecycle
- IN_PROGRESS transaction / Observing events in different transaction phases
- isActive() / Custom scopes
- isLoggedIn() / Securing methods with an interceptor
J
- java.lang.Object type / Bean types
- Java Generics / Creating CDI services
- Java Persistence API (JPA) / Managed Beans
- Java Server Faces (JSF) / The history of beans
- JBoss AS
- JBoss Weld
- distribution / JBoss Weld distribution
- installing / JBoss Weld distribution
- URL / JBoss Weld distribution
- JBoss Weld OSGI bundle
- URL / Glassfish
L
- @Local interface / Bean types
- @Loggable annotation / Inheritance of interceptor binding types
- @LoggedIn event / Creating CDI services
- libraries
- weld-api.jar / JBoss Weld distribution
- weld-core.jar / JBoss Weld distribution
- weld-se.jar / JBoss Weld distribution
- weld-se-core.jar / JBoss Weld distribution
- weld-servlet.jar / JBoss Weld distribution
- weld-servlet-core.jar / JBoss Weld distribution
- weld-spi.jar / JBoss Weld distribution
- listener / Apache Tomcat
- login() / Creating CDI services
- login operation / Administration interface
- logToFile / Interceptor binding types with members
- long-running conversation
M
- @ManagedBean annotation / Managed Beans
- @MyNonPassivatingScope class / Custom scopes
- @MyQualifier annotation / Qualifiers
- Managed Beans / The history of beans, Managed Beans
- MessageListener / The request context lifecycle
- methods
- securing, with an interceptor / Securing methods with an interceptor
N
- @Named annotation / Expression Language (EL), Producer methods, Administration interface
- @New qualifier / Injection into producer methods
- @Nonbinding annonation / Typesafe resolution, Members of event qualifiers, Securing methods with an interceptor
- @Nonbinding annotation / Qualifier members, Interceptor binding types with members
- new operator / Injection into producer methods
- nocid parameter / Conversation propagation
- non-container managed instance / Injection into non-container managed instances
- normal scope
- about / Scope types
- notifyObserver / Event-observer bean creation
O
- @Observes annotation / How do I listen for an event?, Observing events in different transaction phases, Event-observer bean creation
- observer method
- about / What is an injection point?
- Order entity / Overview of the application
- OrderItem entity / Overview of the application
P
- @PojoDoc annotation / Replacing annotations on a type via an extension
- @PostConstruct method / What is an injection point?
- @PreDestroy method / The application context lifecycle
- @Produces annotation / Producer methods
- passivating attribute / Custom scopes
- payload
- about / What is a payload?
- PaymentProcessor class / What is an injection point?
- Plain Old Java Object (POJO) / Definition of a bean
- portable extension
- about / What is a portable extension?
- integrating, with container / What is a portable extension?
- creating / What is a portable extension?
- portlet class
- injecting / Injection into non-container managed instances
- ProcessAnnotatedType event / What is the CDI container lifecycle?
- ProcessBean event / What is the CDI container lifecycle?
- ProcessInjectionTarget event / What is the CDI container lifecycle?
- ProcessObserverMethod event / What is the CDI container lifecycle?
- ProcessProducer event / What is the CDI container lifecycle?
- produced beans
- cleanup / Cleanup of produced beans
- producer
- scope / The scope of a producer
- dependent beans / Dependent beans for producers
- Producer
- about / Producers
- methods / Producer methods
- fields / Producer fields
- producer method
- about / What is an injection point?
- injecting into / Injection into producer methods
- injecting / Injection into producer methods
- pseudo-scope
- about / Scope types, Pseudo scopes
- creating / Custom scopes
Q
- @Qualifier annonation / Qualifiers, What is a payload?
- @Qualifier annotation / Qualifiers
- qualifier
- about / Qualifiers, Qualifiers
- @Default qualifier / @Default and @Any
- @Any qualifier / @Default and @Any
- members / Qualifier members
R
- @Removed annotation / Event qualifiers
- @RequestScoped annotation / Built-in scopes
- @RequestScoped bean / Client proxies, Injection into producer methods
- @Retention annotation / Qualifiers
- request context
- lifecycle / The request context lifecycle
- REST service / REST services
S
- @Secure annotation / Securing methods with an interceptor
- @SessionScoped annotation / Scope, The scope of a producer
- @SessionScoped annotation / Built-in scopes
- @SessionScoped bean / Securing methods with an interceptor, Creating CDI services
- scope
- about / Scope
- types / Scope types
- scope() value / Replacing annotations on a type via an extension
- scope, types
- normal scope / Scope types
- pseudo-scope / Scope types
- search field / Qualifier members
- select() / Programmatic lookup of contextual instances, Event qualifiers
- select() method / Event qualifiers
- service() method / The request context lifecycle, The session context lifecycle
- Servlet container
- JBoss Weld, installing / JBoss Weld distribution
- ServletRequestListener instance / The session context lifecycle
- Session beans / Session Beans
- session context
- lifecycle / The session context lifecycle
- destroying / The session context lifecycle
- switch statement / Replacing annotations on a type via an extension
T
- <T> variable / What is a payload?
- @Target annotation / Qualifiers
- ThirdPartyComponent class / Injection into non-container managed instances
- transaction
- providing, with an interceptor / Providing a transaction with an interceptor
- transactional observer methods / Observing events in different transaction phases
- Transaction object / Adding interceptors for our services
- TransactionPhase
- IN_PROGRESS transaction / Observing events in different transaction phases
- BEFORE_COMPLETION transaction / Observing events in different transaction phases
- AFTER_COMPLETION transaction / Observing events in different transaction phases
- AFTER_SUCCESS transaction / Observing events in different transaction phases
- AFTER_FAILURE transaction / Observing events in different transaction phases
- transient conversation
- typesafe resolution
- about / Typesafe resolution
- advantages / Typesafe resolution
U
- unproxyable bean type
- about / Unproxyable bean types
- User entity / Overview of the application
- user interface
- REST services / REST services
- for customers / User interface for customers
- UserService.login() / Creating CDI services
- UserTransaction method / Providing a transaction with an interceptor
V
- value() / Members of event qualifiers
W
- weld-api.jar / JBoss Weld distribution
- weld-core.jar / JBoss Weld distribution
- weld-se-core.jar / JBoss Weld distribution
- weld-se.jar / JBoss Weld distribution
- weld-servlet-core.jar / JBoss Weld distribution
- weld-servlet.jar / JBoss Weld distribution
- weld-spi.jar / JBoss Weld distribution
- Weld deployment errors
- resolving / Resolving Weld deployment errors