@ Override public Resource [ ] getResources ( String pattern ) { Resource [ ] resources = cache . get ( pattern ) ; return resources == null ? internalGet ( pattern ) : resources ; }
Returns an array of resources corresponding to the specified pattern . If the pattern has not yet been cached the resources will be enumerated by the application context and stored in the cache .