30.3. Utility components
The following components provide various functions that are useful across a broad range of applications.
-
org.jboss.seam.core.events
- An API for raising events that can be observed via
@Observer
methods, or method bindings incomponents.xml
.raiseEvent(String type)
— raises an event of a particular type and distributes it to all observers.raiseAsynchronousEvent(String type)
— raises an event to be processed asynchronously by the EJB3 timer service.raiseTimedEvent(String type, ....)
— schedules an event to be processed asynchronously by the EJB3 timer service.addListener(String type, String methodBinding)
— adds an observer for a particular event type.
-
org.jboss.seam.core.interpolator
- An API for interpolating the values of JSF EL expressions in Strings.
interpolate(String template)
— scans the template for JSF EL expressions of the form#{...}
and replaces them with their evaluated values.
-
org.jboss.seam.core.expressions
- An API for creating value and method bindings.
createValueBinding(String expression)
— creates a value binding object.createMethodBinding(String expression)
— creates a method binding object.
-
org.jboss.seam.core.pojoCache
- Manager component for a JBoss Cache
PojoCache
instance.pojoCache.cfgResourceName
— the name of the configuration file. Defaults totreecache.xml
.
All of these components are always installed.