axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: [axis2] VOTE : *Description
Date Wed, 26 Oct 2005 04:26:23 GMT
What about the package name then? Are we going to retain "description"?
As the argument goes, as it is not meta data, "description" does not 
sound correct.

Tanks,
Samisa...

Glen Daniels wrote:

> For the record, I continue to really dislike 
> ServiceDescription/OperationDescription as class names for these 
> things.  Consider Deepal's message below - the Service"Description" is 
> the place you get the ClassLoader from!  It contains metadata, sure, 
> but in a real way it IS the runtime representation of the service 
> itself.  As such, I think these classes should be what we originally 
> called them at the F2F:
>
> AxisService
> AxisOperation
>
> This seems much more logical to me.  The AxisService, for instance, is 
> the Java representation of everything Axis needs to know about this 
> service at runtime - it's not just a "Description".
>
> Also right now it's a little confusing in that AxisConfiguration is 
> the corresponding class to ConfigurationContext, and all the others 
> are *Description... it would be nice to have it consistent.
>
> This was discussed before:
>
> http://marc.theaimsgroup.com/?l=axis-dev&m=112666988223509&w=2
>
> But I couldn't find an actual VOTE where we decided to make the change 
> from AxisService -> ServiceDescription....(can anyone point me to it?) 
> so I'd like to have a VOTE for the record.  So here we go....
>
> PROPOSAL :
>
> Make the hierarchy as follows:
>
> s/ServiceDescription/AxisService/
> s/OperationDescription/AxisOperation/
> s/ServiceGroupDescription/AxisServiceGroup/
>
> Here's my +1.
>
> --Glen
>
> Yves Langisch wrote:
>
>> Deepal,
>>
>> Thanks, I'll give it a try.
>>
>> Yves
>>
>> On Tue, 2005-10-25 at 09:21 +0600, Deepal Jayasinghe wrote:
>>
>>> Hi Yvess;
>>>
>>> The correct way is get the ServiceDescription from , MessageContxt 
>>> and then you can get the correct classloader for that service (which 
>>> has all you lib files) from serviceDescription
>>> ClassLoader cl = sd.getClassLoader();
>>>
>>> next you can load the properties you want.
>>>
>>>
>>> Thanks,
>>> Deepal
>>> ................................................................
>>> ~Future is Open~
>>>
>>> ----- Original Message ----- From: "Yves Langisch" <lists@langisch.ch>
>>> To: <axis-dev@ws.apache.org>
>>> Sent: Monday, October 24, 2005 7:42 PM
>>> Subject: [Axis2] Access a resource inside of a Axis2 archive
>>>
>>>
>>>
>>>> Hi
>>>>
>>>> I've a Axis2 archive file (.aar) which contains several libraries in
>>>> the /lib folder.  In my *PortSkeleton class I'm looking for a way to
>>>> load a properties file that is in one of this libs. I tried with
>>>> this.getClass().getResource("my.properties") (also with
>>>> "lib/my.properties") without success. How can I achieve this?
>>>>
>>>> Thanks
>>>> Yves
>>>>
>>>>
>>>
>>>
>>
>


Mime
View raw message