Overview
Other MyFaces Extensions
- ExtVal
- Ext-Script
- [Orchestra]
- [Portlet Bridge]
Community
Development
Sponsorship
Your browser does not support iframes
...
CODI provides default values via CDI beans. Therefore, it's possible to provide an alternative bean (via the std. @Specializes
or @Alternative
mechanism and the corresponding config specified provided by CDI). An alternative implementation is allowed to extend the default implementation - so it's possible just to override the values you have to customize. Or you just implement the corresponding interfaces and so you have to provide all values. Furthermore, there are add-ons e.g. for using the web.xml for the configuration (see External Resources).
Tipnote | ||||
---|---|---|---|---|
| Detailed information is available as JavaDoc at the corresponding interfaces.
| |||
With CODI v0.9.2+ we made it easier for users to customize just single values. The default implementations are already available in the API modules (instead of the interfaces). So you have to use |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
@Specializes
@ApplicationScoped
public class CustomConversationConfig extends ConversationConfig
{
@Override
public int getConversationTimeoutInMinutes()
{
return 45;
}
}
|
...