[ 
https://issues.apache.org/jira/browse/AXIS2-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nencho Lupanov updated AXIS2-2451:
----------------------------------

    Attachment: PolicyEngine.diff

basic changes:

1) The policy content is extracted in a thread so no blocking occures:
                     //extract the policy reference object
                        PolicyReference pReference = 
getPolicyReference(childElement);
          
                        //pull the policy content in a thred so no blocking 
occurs
                        PolicyReaderThread thread = new 
PolicyReaderThread(pReference,operator);
                        thread.start();

2)privatestatic Policy getPolicyOperator(OMElement element) is changed to 
public in order to be used by the additional thread where the actual content is 
extracted

> WS Policy Attachments for services.xml
> --------------------------------------
>
>                 Key: AXIS2-2451
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2451
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>            Reporter: Nencho Lupanov
>            Assignee: Sanka Samaranayake
>         Attachments: PolicyEngine.diff, PolicyReference.diff, 
> PolicyReference.diff
>
>
> Axis2 does not recognize policy references in services.xml.
> Implementation should alow usage such:
>  <wsp:PolicyReference
>      URI="http://localhost:53307/policy.xml#UTOverTransport"; />
> </wsp:PolicyAttachment>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to