You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Damitha Kumarage (JIRA)" <ji...@apache.org> on 2006/11/22 10:33:01 UTC

[jira] Created: (AXIS2C-423) provide a create method whith arguments

provide a create method whith arguments
---------------------------------------

                 Key: AXIS2C-423
                 URL: http://issues.apache.org/jira/browse/AXIS2C-423
             Project: Axis2-C
          Issue Type: Improvement
            Reporter: Damitha Kumarage


axis2_property_create(
    const axis2_env_t *env)
should be written as

axis2_property_create(
    const axis2_env_t *env,
    axis2_scope_t scope,
    AXIS2_FREE_VOID_ARG free_func,
    void *value)

I axis2c code there is lot of places where property is created and then value are set. We can reduce this code by the
above solution

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2C-423) provide a create method whith arguments

Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-423?page=comments#action_12451883 ] 
            
Damitha Kumarage commented on AXIS2C-423:
-----------------------------------------

Since we have used axis2_property_create(env) and then set values in so many places changing the
method will involve lot of work. So I suggest

AXIS2_EXTERN axis2_property_t* AXIS2_CALL
axis2_property_create_with_args(
    const axis2_env_t *env,
    void *value,
    AXIS2_FREE_VOID_ARG free_func,
    axis2_scope_t *scope);
Then we can slowly shift using the new creator

> provide a create method whith arguments
> ---------------------------------------
>
>                 Key: AXIS2C-423
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-423
>             Project: Axis2-C
>          Issue Type: Improvement
>            Reporter: Damitha Kumarage
>
> axis2_property_create(
>     const axis2_env_t *env)
> should be written as
> axis2_property_create(
>     const axis2_env_t *env,
>     axis2_scope_t scope,
>     AXIS2_FREE_VOID_ARG free_func,
>     void *value)
> I axis2c code there is lot of places where property is created and then value are set. We can reduce this code by the
> above solution

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (AXIS2C-423) provide a create method whith arguments

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-423?page=all ]

Samisa Abeysinghe resolved AXIS2C-423.
--------------------------------------

    Resolution: Fixed

Damitha has commited in the solution

> provide a create method whith arguments
> ---------------------------------------
>
>                 Key: AXIS2C-423
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-423
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: Current (Nightly)
>            Reporter: Damitha Kumarage
>         Assigned To: Damitha Kumarage
>             Fix For: 0.96
>
>
> axis2_property_create(
>     const axis2_env_t *env)
> should be written as
> axis2_property_create(
>     const axis2_env_t *env,
>     axis2_scope_t scope,
>     AXIS2_FREE_VOID_ARG free_func,
>     void *value)
> I axis2c code there is lot of places where property is created and then value are set. We can reduce this code by the
> above solution

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2C-423) provide a create method whith arguments

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-423?page=all ]

Samisa Abeysinghe updated AXIS2C-423:
-------------------------------------

          Component/s: util
        Fix Version/s: 0.96
    Affects Version/s: Current (Nightly)
             Assignee: Damitha Kumarage

> provide a create method whith arguments
> ---------------------------------------
>
>                 Key: AXIS2C-423
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-423
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: Current (Nightly)
>            Reporter: Damitha Kumarage
>         Assigned To: Damitha Kumarage
>             Fix For: 0.96
>
>
> axis2_property_create(
>     const axis2_env_t *env)
> should be written as
> axis2_property_create(
>     const axis2_env_t *env,
>     axis2_scope_t scope,
>     AXIS2_FREE_VOID_ARG free_func,
>     void *value)
> I axis2c code there is lot of places where property is created and then value are set. We can reduce this code by the
> above solution

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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