public interface Lifecycle
Modifier and Type | Method and Description |
---|---|
void |
destroy(ServiceContext context)
destroy() is called when Axis2 decides that it is finished with a particular instance
of the back-end service class.
|
void |
init(ServiceContext context)
init() is called when a new instance of the implementing class has been created.
|
void init(ServiceContext context) throws AxisFault
context
- the active ServiceContextAxisFault
- if something goes wrong. Throwing a fault here will result in either
failed deployment (for application-scoped services) or failed requests.void destroy(ServiceContext context)
context
- the active ServiceContextCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.