Hi Gul > > I see init and destroy functions implemented in one of the samples > (servicelifecycle) in Axis2 distro. > > public void init(ServiceContext serviceContext) > public void destroy(ServiceContext serviceContext) throws AxisFault > > *When are these functions get invoked for a service that is deployed > as "application" scope service?* Servicelifecycle has nothing to do with the service scope , the life cycle will help you to manage the lifetime of a your service (description) , not the contexts. Service lifecycle will help you to do something like open a DB connection when you deploy the service and to close that when system shutdown. > *What happens if an "application" scope service doesn't implement > those functions?* Nothing will happen. > ** > Gul
-- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
