[
https://issues.apache.org/jira/browse/QPID-6485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey resolved QPID-6485.
-------------------------------
Resolution: Fixed
> Remove superfluous find/get methods from the Broker configured object
> ---------------------------------------------------------------------
>
> Key: QPID-6485
> URL: https://issues.apache.org/jira/browse/QPID-6485
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Keith Wall
> Assignee: Keith Wall
> Fix For: 6.0 [Java]
>
>
> The Broker object has a number of find/get methods which traverse deep into
> the model hierarchy, for instance, getSubjectCreator traverses
> Broker->Port->AuthenticationProvider->SubjectCreator.
> It turns out the callers of these methods already possess a more closer more
> suitable configured object within the model, for instance the ProtocolEngines
> already possess the Port.
> Refactor the code to remove these methods avoiding violating Demeter's Law
> quite so much.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]