You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org> on 2007/10/11 07:35:50 UTC

[jira] Updated: (WSCOMMONS-257) Some improvements for flexibility!

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

Ajith Harshana Ranabahu updated WSCOMMONS-257:
----------------------------------------------

    Attachment: neethi.patch

patch for the suggested changes

> Some improvements for flexibility!
> ----------------------------------
>
>                 Key: WSCOMMONS-257
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-257
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: Policy
>            Reporter: Ajith Harshana Ranabahu
>            Assignee: Ajith Harshana Ranabahu
>         Attachments: neethi.patch
>
>
> 1. The AssertionBuilderFactory is made static inside the PolicyEngine.
> It seems this is not flexible since I want to have my own defaults. It
> would have been better if we can control this via a System property
> but for now I made it a field and added a setter so that one can set a
> custom factory
> 2. The AssertionBuilderFactory need not have any static methods . It
> should be an instance inside the PolicyEngine (static right now) and
> it has a static registerBuilder method which makes it really ugly.
> Actually the static factory instance is never used to register the
> builders. So I've made   the registerBuilder method  an instance
> method and also modified the PolicyEngine to rightfully use the static
> factory instance. Also moved the static intializer code to the
> constructor.
> 3. The element field in XMLPrimitiveAssertion has a default scope and
> is impossible to extend in an outside package. So I've made that a
> protected variable.

-- 
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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org