public static ResourceResolutionContext context(ResourceResolutionComponent[] components,
                                                    Map<String, Object> messageParams) {
        return new ResourceResolutionContext(components, messageParams);
    }
public static ResourceResolutionContext context ( ResourceResolutionComponent [ ] components , Map < String , Object > messageParams ) { return new ResourceResolutionContext ( components , messageParams ) ; }
Build resolution context in which message will be discovered and built
@param components resolution components, used to identify message bundle
@param messageParams message parameters will be substituted in message and used in pattern matching
@since 3.1
@return immutable resolution context instance for given parameters