Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9326

Replace Delegates-mapping by proper solution

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.3.0.M4
    • 3.3.0.M3
    • server
    • None

      We implementation our own delegation on top of the wtp delegation because WTP is not flexible enough for our needs. We did not want to have separate servers for remote/local behavior and we therefore provide a single server which may be switch to local/remote behavior and delegates to appropriate components.
      The components are currently mapped to local/remote behaviors on behalf of static maps:

      • DelegatingJBoss7ServerBehavior#addDelegateMapping
      • DelegatingJBoss7ServerBehavior#getDelegateMap
      • DelegatingServerBehavior#addDelegateMapping
      • DelegatingServerBehavior#getDelegate

      etc.

      This solution works but is far from optimal since all those statics make subclassing pretty hard. Furthermore it basically does what the platform provides by extensions and osgi services.

      We should replace the current implementation by those platform mechanisms.

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: