[jbosstools-issues] [JBoss JIRA] (JBIDE-9326) Replace Delegates-mapping by proper solution
Martin Malina (JIRA)
jira-events at lists.jboss.org
Tue Apr 3 09:15:48 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-9326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Malina closed JBIDE-9326.
--------------------------------
> 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/Servers
> Affects Versions: 3.3.0.M3
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 3.3.0.M4
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list