Package net.solarnetwork.web.support
Interface MessagesSource
- All Superinterfaces:
org.springframework.context.MessageSource
- All Known Implementing Classes:
PatternMatchingResourceBundleMessagesSource,ReloadableResourceBundleMessagesSource
public interface MessagesSource
extends org.springframework.context.MessageSource
Extension of MessageSource to allow for getting all messages.
Adapted from magoffin.matt.xweb.util.MessagesSource.
- Version:
- 1.0
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionGet an enumeration of keys.voidregisterMessageResource(String resource) Register an additional message resource at runtime.Methods inherited from interface org.springframework.context.MessageSource
getMessage, getMessage, getMessage
-
Method Details
-
getKeys
Get an enumeration of keys.- Parameters:
locale- the desired locale- Returns:
- enumeration of message keys
-
registerMessageResource
Register an additional message resource at runtime.- Parameters:
resource- the resource path to register
-