[ 
https://issues.apache.org/jira/browse/QPID-7438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522847#comment-15522847
 ] 

Keith Wall commented on QPID-7438:
----------------------------------

Not all managed operations should use the task executor - only those which 
modify the object's *configured* state.  We said we'd introduce an annotation 
onto the managed object to indicate that the configuration thread must be used 
for the operation.    We'd reuse the approach taken by the ACL code generation 
piece to wrap the operation methods with the necessary code to delegate to the 
task executor.    We went on to say that injected operations would remain 
special - here the responsibility lies with the implementor to get the 
threading right.    

> ACL provider and AutoGeneratedSelfSignedKeyStore modify configured state 
> without using the configuration task executor
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7438
>                 URL: https://issues.apache.org/jira/browse/QPID-7438
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>             Fix For: qpid-java-6.1
>
>
> By design, any changes to a CO's configured state must be made by the 
> configuration task executor.  There are managed operations on 
> AutoGeneratedSelfSignedKeyStore, RuleBasedAccessControlProvider, and 
> AclFileAccessControlProvider which violate this rule.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to