@Close public void close() { if (synonymCatalogConnection != null) { synonymCatalogConnection.close(); synonymCatalogConnection = null; } }
@Close public void close() { if (isDictionaryMatchingEnabled() && _dictionaryMatchers != null) { for (final DictionaryMatcherTransformer matcher : _dictionaryMatchers) { matcher.close(); } _dictionaryMatchers = null; } if (isStringPatternMatchingEnabled() && _stringPatternMatchers != null) { for (final StringPatternMatcherTransformer matcher : _stringPatternMatchers) { matcher.close(); } _stringPatternMatchers = null; } if (isSynonymCatalogLookupEnabled() && _synonymCatalogConnections != null) { for (final SynonymCatalogConnection connection : _synonymCatalogConnections) { connection.close(); } _synonymCatalogConnections = null; } }