axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe" <dee...@opensource.lk>
Subject [Axis2]Context serialization
Date Wed, 21 Sep 2005 09:26:42 GMT
 Hi all;
Chamikara has done a great job to serialize Axis2 context hierarchy form top to bottom (ConfigurationConetxt
, ServiceGroupContexts , ServiceContexts , OperationContext , MessageContext). All the persistence
properties will be saved when you serialize the system and will be there as it is when it
restart again. I integrate that to Axis2. 

How do we serializes the system

any one can serialize the system at any time , only requirement is to have AxisEngine object
(new AxisEngine(ConfigurationContext)),then just call 

engine.serialize();




It will serialize to the location specified in Axis2.xml ( <parameter name="seralizeLocation"
locked="false">.</parameter>) , if the parameter is not there it will serialize to
the working directory. 




When the deployment get start up it will check for the serialized file in the loaction specified
by Axis2.xml if it is there ConfigurationContext will be created by de-serializing serialized
file , if the file is not there empty Config_Context will be created.




Thanks,
 Deepal
................................................................
~Future is Open~

Mime
View raw message