Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.helpers
Class ResourcesAccessorBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.helpers.ResourcesAccessorBean
All Implemented Interfaces:
ResourcesAccessor

@Name(value="resourcesAccessor")
@Scope(value=APPLICATION)
public class ResourcesAccessorBean
extends java.lang.Object
implements ResourcesAccessor

Global resources can be injected by Seam into a application scoped component that doesn't need to be serialized.

This circumvents possible Seam bugs in Seam post-activation injection problems regarding resource bundles.

Author:
DM

Constructor Summary
ResourcesAccessorBean()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getMessages()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcesAccessorBean

public ResourcesAccessorBean()
Method Detail

getMessages

public java.util.Map<java.lang.String,java.lang.String> getMessages()
Specified by:
getMessages in interface ResourcesAccessor

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.