polishing
This commit is contained in:
@@ -77,6 +77,7 @@ public class FeedEntryMessageSource extends IntegrationObjectSupport implements
|
||||
|
||||
private final Object feedMonitor = new Object();
|
||||
|
||||
|
||||
/**
|
||||
* Will create a default HttpURLFeedFetcher. If URL is other then http*
|
||||
* then consider providing custom implementation of the {@link FeedFetcher}
|
||||
@@ -86,6 +87,8 @@ public class FeedEntryMessageSource extends IntegrationObjectSupport implements
|
||||
public FeedEntryMessageSource(URL feedUrl) {
|
||||
this(feedUrl, new HttpURLFeedFetcher(HashMapFeedInfoCache.getInstance()));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Will allow you to provide not only URL but the custom implementation
|
||||
* of the {@link FeedFetcher}
|
||||
|
||||
@@ -30,6 +30,7 @@ import static org.springframework.integration.twitter.config.TwitterNamespaceHan
|
||||
* @since 2.0
|
||||
*/
|
||||
public class UpdateEndpointParser extends AbstractSingleBeanDefinitionParser {
|
||||
|
||||
@Override
|
||||
protected String getBeanClassName(Element element) {
|
||||
String elementName = element.getLocalName().trim();
|
||||
@@ -46,6 +47,7 @@ public class UpdateEndpointParser extends AbstractSingleBeanDefinitionParser {
|
||||
throw new IllegalArgumentException("Element '" + elementName + "' is not supported by this parser");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean shouldGenerateId() {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user