Chapter 23. Built-in Seam components
This chapter describes Seam's built-in components, and their configuration properties.
Note that you can replace any of the built in components with your own implementations simply by specifying the name of one of the built in components on your own class using @Name
.
Note also that even though all the built in components use a qualified name, most of them are aliased to unqualified names by default. These aliases specify auto-create="true"
, so you do not need to use create=true
when injecting built-in components by their unqualified name.
23.1. Context injection components
The first set of built in components exist purely to support injection of various contextual objects. For example, the following component instance variable would have the Seam session context object injected:
@In private Context sessionContext;
-
org.jboss.seam.core.eventContext
-
Manager component for the event context object
-
org.jboss.seam.core.pageContext
-
Manager component for the page context object
-
org.jboss.seam.core.conversationContext
-
Manager component for the conversation context object
-
org.jboss.seam.core.sessionContext
-
Manager component for the session context object
-
org.jboss.seam.core.applicationContext
-
Manager component for the appication context object
-
org.jboss.seam.core.businessProcessContext
-
Manager component for the business process context object
-
org.jboss.seam.core.facesContext
-
Manager component for the FacesContext
context object (not a true Seam context)
All of these components are always installed.