Moved ChannelRegistryAware and InitializingBean interfaces to the AbstractEndpoint class declaration instead of the MessageEndpoint interface.

This commit is contained in:
Mark Fisher
2008-07-16 01:38:41 +00:00
parent d344504e38
commit 8dfe625163
3 changed files with 6 additions and 6 deletions

View File

@@ -49,12 +49,13 @@ public class SecurityEndpointInterceptorTests {
@Before
public void createEndpoint() throws Exception {
this.endpoint = new HandlerEndpoint(new MessageHandler() {
HandlerEndpoint endpoint = new HandlerEndpoint(new MessageHandler() {
public Message<?> handle(Message<?> message) {
return null;
}
});
this.endpoint.afterPropertiesSet();
endpoint.afterPropertiesSet();
this.endpoint = endpoint;
}