*/
public synchronized void initializeDevicePatternCache(RepositoryConnection connection)
throws RepositoryException {
if (devicePatternCache == null) {
devicePatternCache = new DevicePatternCache();
}
RepositoryEnumeration enumeration = enumerateDevicePatterns(connection);
// count the number of items we add to the cache.
// Remember duplicate items will be discarded