[
https://issues.apache.org/jira/browse/QPID-7197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240800#comment-15240800
]
Keith Wall commented on QPID-7197:
----------------------------------
I think that we would want to enforce this using generic code in ACO. The
algorithm would need to be something like:
locate the tree top
traverse the tree checking to see if the object that is about to be deleted
is in use. Do this by:
checking each child's managed attributes
for each attribute if the managed attributes type matches the delete
target, check whether it refers to the same object
> Prevent deletion of objects that are in use
> -------------------------------------------
>
> Key: QPID-7197
> URL: https://issues.apache.org/jira/browse/QPID-7197
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Keith Wall
> Fix For: qpid-java-6.1
>
>
> Enhance the facilities of the CO framework to prevent the deletion of the
> objects that are in use elsewhere in the model. Specifically this means
> searching for other COs that have an attribute that refers to the object that
> is about to be deleted,.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]