INT-1451 refactoring part-2

This commit is contained in:
Oleg Zhurakousky
2010-09-25 13:19:32 -04:00
parent ac49187a64
commit 176115af57
28 changed files with 296 additions and 565 deletions

View File

@@ -146,12 +146,6 @@ public abstract class TestUtils {
}
public void registerEndpoint(String endpointName, AbstractEndpoint endpoint) {
if (endpoint instanceof AbstractPollingEndpoint) {
DirectFieldAccessor accessor = new DirectFieldAccessor(endpoint);
if (accessor.getPropertyValue("trigger") == null) {
((AbstractPollingEndpoint) endpoint).setTrigger(new PeriodicTrigger(10));
}
}
registerBean(endpointName, endpoint, this);
}
}