Announcement Announcement Module
Collapse
No announcement yet.
unable to modify endpoint map of PayloadRootQNameEndpointMapping Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • unable to modify endpoint map of PayloadRootQNameEndpointMapping

    Hi,

    I'm working on the grails spring ws plugin where we use a PayloadRootQNameEndpointMapping to implement endpoints.
    While trying to implement auto-reloading for endpoints, I got an NPE when calling setMappings() after the initial loading of the ApplicationContext.
    I tried to implement a re-loadable subclass, but it seems that the AbstractMapBasedEndpointMapping (and subclasses) are not suitable for extending (private and final methods). So I ended up in copying the code in order to clear the private endpointMap and add my new mappings, which works fine.
    It would be nice to allow setMappings() at any time (just like setInterceptors()), unless there is a special reason for not doing so?

    Grtz,
    Ivo
Working...
X