You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/02/09 17:44:57 UTC

[jira] Moved: (NEETHI-8) Some improvements for flexibility!

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

Daniel Kulp moved WSCOMMONS-257 to NEETHI-8:
--------------------------------------------

    Component/s:     (was: Policy)
            Key: NEETHI-8  (was: WSCOMMONS-257)
        Project: Neethi  (was: WS-Commons)

> Some improvements for flexibility!
> ----------------------------------
>
>                 Key: NEETHI-8
>                 URL: https://issues.apache.org/jira/browse/NEETHI-8
>             Project: Neethi
>          Issue Type: Improvement
>            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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org