[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9326) Replace Delegates-mapping by proper solution

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Mon Jul 11 09:47:23 EDT 2011


Replace Delegates-mapping by proper solution
--------------------------------------------

                 Key: JBIDE-9326
                 URL: https://issues.jboss.org/browse/JBIDE-9326
             Project: Tools (JBoss Tools)
          Issue Type: Enhancement
          Components: JBossAS
    Affects Versions: 3.3.0.M3
            Reporter: Andre Dietisheim
            Assignee: Andre Dietisheim
             Fix For: 3.3.x


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list