5.2.10. Built-in components
Seam is implemented as a set of built-in interceptors and components. This makes it easy for applications to interact with built-in components at runtime, or to customize basic Seam functionality by replacing the built-in components with custom implementations. The built-in components are defined in the Seam namespace
org.jboss.seam.core
, and in the Java package of the same name.
The built-in components may be injected like any other Seam component, but they also provide convenient static
instance()
methods:
FacesMessages.instance().add("Welcome back, #{user.name}!");