Hi all;
I add a new feature to Axis2 !!
A module can add services when they deploy in Axis2 , module mar file
can contains any number of service archive file in side that. So when
the module is present in modules directory Axis2 will make all the
available services init (if there are any). This is some what similar to
module adding operations , but the difference is you can put services
archive files.
Any of the libs or resources available in module is visible to services
, that is b'coz parent class loader of all the services in a module is
module class loader.
How do you add module services;
- You need to add folder called "aars" in the same level as META-INF
- Need to list all the services in module archive file adding aars.list
- Then put all the services archives files into "aars"
So module with services will look like below;
myModule.mar
META-INF
module.xml
org
apache
lib
aars
aars.list
service1.aar
service2.aar
The corresponding aars.list file will look like below;
service1.aar
service2.aar
Comments and thoughts .......
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]