Menu

#89 Add the capability of unregisterApplication on an HL7Service

2.3
closed-fixed
5
2014-12-16
2014-11-07
Mathieu
No

Actually, there isno way to unregister an application from a server.

It would be great adding an unbind method to the ApplicationRouterImpl class and an unregister method to the HL7Service class :

public void unbindApplication(ReceivingApplication theApplication);

public void unregisterApplication(ReceivingApplication theApplication);

The use case is in an OSGi context, where receiving applications can come an go at runtime. I don't want only disableBinding but really remove the binding.

For now, I have to rewrite ApplicationRouterImpl class because the myBindings list is private and HL7Service class because new ApplicationRouterImpl(parser) is hardcoded into the constructor (and is private final).

Thanks !

Discussion

  • Christian Ohr

    Christian Ohr - 2014-12-15
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -Actually, there si no way to unregister an application from a server.
    +Actually, there isno way to unregister an application from a server.
    
     It would be great adding an unbind method to the *ApplicationRouterImpl* class and an unregister method to the *HL7Service* class :
    
    • assigned_to: Christian Ohr
    • Group: Future --> 2.3
     
  • Christian Ohr

    Christian Ohr - 2014-12-16

    allow to unbind/unregister based on ApproutingData and ReceivingApplication

     
  • Christian Ohr

    Christian Ohr - 2014-12-16
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.