[ http://issues.apache.org/jira/browse/AXIS2C-68?page=all ]
     
Samisa Abeysinghe closed AXIS2C-68:
-----------------------------------

    Resolution: Fixed

provided a create all method to solve this issue:

/**
    * Creates an environment struct with all of its default parts,
    * that is an allocator, error, log and a thread pool.
    * @param log_file name of the log file
    * @param log_level log level to be used
    * @return pointer to the newly created environment struct
    */
    AXIS2_DECLARE(axis2_env_t *) axis2_env_create_all (axis2_char_t *log_file,
        axis2_log_levels_t log_level);

> Provide a "conviniance method" to create environment with one method call
> -------------------------------------------------------------------------
>
>          Key: AXIS2C-68
>          URL: http://issues.apache.org/jira/browse/AXIS2C-68
>      Project: Axis2-C
>         Type: Improvement

>   Components: util
>     Versions: Current (Nightly)
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 0.91

>
> The user has to create the allocator, log, error (and soon the thread pool) 
> before creating the environment struct.
> We should provide a single method to help create all those in one go and 
> return a pointer to an env instance

-- 
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

Reply via email to