axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nair, Anushree" <anushree.n...@hp.com>
Subject Hot deployment and hot update in Axis2/C1.5
Date Wed, 25 Feb 2009 13:50:51 GMT
Hello,

I'd like to know if hot deployment and hot update features are supported in Axis2/c1.5. If
it has been supported then how do we enable the feature?
I saw the following lines in file dep_engine.c


/**
 * To set hot deployment and hot update
 */
static axis2_status_t
axis2_dep_engine_set_dep_features(
    axis2_dep_engine_t * dep_engine,
    const axutil_env_t * env)
{
    axis2_char_t *value = NULL;
    axutil_param_t *para_hot_dep = NULL;
    axutil_param_t *para_hot_update = NULL;

    AXIS2_PARAM_CHECK (env->error, dep_engine, AXIS2_FAILURE);

    para_hot_dep = axis2_conf_get_param(dep_engine->conf, env, 	AXIS2_HOTDEPLOYMENT);
    para_hot_update = axis2_conf_get_param(dep_engine->conf, env, 	AXIS2_HOTUPDATE);

    if (para_hot_dep)
    {
        value = (axis2_char_t *) axutil_param_get_value(para_hot_dep, env);
        if (0 == axutil_strcasecmp(AXIS2_VALUE_FALSE, value))
        {
            dep_engine->hot_dep = AXIS2_FALSE;
        }
    }

    if (para_hot_update)
    {
        value = (axis2_char_t *) axutil_param_get_value(para_hot_update, 		env);
        if (0 == axutil_strcasecmp(AXIS2_VALUE_FALSE, value))
        {
            dep_engine->hot_update = AXIS2_FALSE;
        }
    }

    return AXIS2_SUCCESS;
}


Thanks and Regards,
Anushree

Mime
View raw message