You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Rajith Attapattu <ra...@gmail.com> on 2006/10/18 04:39:44 UTC
[axis2] How can I get a reference to the ConfigurationContext from the DescriptionBuilders
Hi All,
I have acess to the AxisConfiguration in my DescriptionBuilder, now how do I
get access to the ConfigurationContext from there ?
Regards,
Rajith
Re: [axis2] How can I get a reference to the ConfigurationContext
from the DescriptionBuilders
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Yes, Ajith that is is the correct thing to use.
Thanks
Deepal
Ajith Ranabahu wrote:
> Hi,
> But wouldn't that mean you would be creating a *new* configContext ?
> If you have an Axis2 instance already running wouldn't
> ListenerManager.defaultConfigurationContext be the right one to take ?
>
> Ajith
>
> On 10/17/06, Eran Chinthaka <ch...@opensource.lk> wrote:
>
>> Rajith Attapattu wrote:
>> > Hi All,
>> >
>> > I have acess to the AxisConfiguration in my DescriptionBuilder, now
>> how
>> > do I get access to the ConfigurationContext from there ?
>>
>> new ConfigurationContext(axisConfiguration) should do.
>>
>> Rajith, seems you need a coffee :)
>>
>> - Chinthaka
>>
>>
>>
>>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: [axis2] How can I get a reference to the ConfigurationContext
from the DescriptionBuilders
Posted by Eran Chinthaka <ch...@opensource.lk>.
Ajith Ranabahu wrote:
> Hi,
> But wouldn't that mean you would be creating a *new* configContext ?
> If you have an Axis2 instance already running wouldn't
> ListenerManager.defaultConfigurationContext be the right one to take ?
Well, then we need to know what exactly Rajith is trying to do.
My assumption was, as he is inside the DescriptionBuilder, he is trying
to create his own environment. So he might wanna pass an AxisConfig on
his own and drive the engine.
Well, all depends on what he wanna do. May be we are thinking too far :).
-- Chinthaka
>
> Ajith
>
> On 10/17/06, Eran Chinthaka <ch...@opensource.lk> wrote:
>> Rajith Attapattu wrote:
>> > Hi All,
>> >
>> > I have acess to the AxisConfiguration in my DescriptionBuilder, now how
>> > do I get access to the ConfigurationContext from there ?
>>
>> new ConfigurationContext(axisConfiguration) should do.
>>
>> Rajith, seems you need a coffee :)
>>
>> - Chinthaka
>>
>>
>>
>>
>
>
Re: [axis2] How can I get a reference to the ConfigurationContext
from the DescriptionBuilders
Posted by Eran Chinthaka <ch...@opensource.lk>.
Rajith Attapattu wrote:
> Now who needs coffe ??? :)
>
> I need access to the original ConfigurationContext that was used to
> start the axis2 instance.
You didn't say that :). Paste your code snippet here and tell exactly
what you wanna do. That will help to give the proper answer.
You might wanna grap a coffee while explaining in your next mail :D
-- Chinthaka
Re: [axis2] How can I get a reference to the ConfigurationContext from the DescriptionBuilders
Posted by Rajith Attapattu <ra...@gmail.com>.
Now who needs coffe ??? :)
I need access to the original ConfigurationContext that was used to start
the axis2 instance.
new ConfigurationContext(axisConfiguration) will create a new object.
I need to add/modify/delete the service and service group contexts in the
original ConfigurationContext.
Regards,
Rajith
On 10/17/06, Ajith Ranabahu <aj...@gmail.com> wrote:
>
> Hi,
> But wouldn't that mean you would be creating a *new* configContext ?
> If you have an Axis2 instance already running wouldn't
> ListenerManager.defaultConfigurationContext be the right one to take ?
>
> Ajith
>
> On 10/17/06, Eran Chinthaka <ch...@opensource.lk> wrote:
> > Rajith Attapattu wrote:
> > > Hi All,
> > >
> > > I have acess to the AxisConfiguration in my DescriptionBuilder, now
> how
> > > do I get access to the ConfigurationContext from there ?
> >
> > new ConfigurationContext(axisConfiguration) should do.
> >
> > Rajith, seems you need a coffee :)
> >
> > - Chinthaka
> >
> >
> >
> >
>
>
> --
> Ajith Ranabahu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
Re: [axis2] How can I get a reference to the ConfigurationContext from the DescriptionBuilders
Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi,
But wouldn't that mean you would be creating a *new* configContext ?
If you have an Axis2 instance already running wouldn't
ListenerManager.defaultConfigurationContext be the right one to take ?
Ajith
On 10/17/06, Eran Chinthaka <ch...@opensource.lk> wrote:
> Rajith Attapattu wrote:
> > Hi All,
> >
> > I have acess to the AxisConfiguration in my DescriptionBuilder, now how
> > do I get access to the ConfigurationContext from there ?
>
> new ConfigurationContext(axisConfiguration) should do.
>
> Rajith, seems you need a coffee :)
>
> - Chinthaka
>
>
>
>
--
Ajith Ranabahu
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: [axis2] How can I get a reference to the ConfigurationContext
from the DescriptionBuilders
Posted by Eran Chinthaka <ch...@opensource.lk>.
Rajith Attapattu wrote:
> Hi All,
>
> I have acess to the AxisConfiguration in my DescriptionBuilder, now how
> do I get access to the ConfigurationContext from there ?
new ConfigurationContext(axisConfiguration) should do.
Rajith, seems you need a coffee :)
- Chinthaka