Hi,
I'd like to be able to recieve notification of when an endpoints server starts
and stops, and get info on that server instance.
At the moment there does not appear to be anyway to hook into such lifecycle so
would like to propose adding in a ServerLifeCycleManager and
ServerLifeCycleListener to the api's.
Something along the lines of :
org.apache.cxf.endpoint.ServerLifeCycleManager {
startServer(org.apache.cxf.endpoint.Server server)
stopServer(org.apache.cxf.endpoint.Server server)
registerListener(ServerLifeCycleListener listener)
unRegisterListener(ServerLifeCycleListener listener)
}
org.apache.cxf.endpoint.ServerLifeCycleListener {
startServer(org.apache.cxf.endpoint.Server server)
stopServer(org.apache.cxf.endpoint.Server server)
}
where the ServerImpl would be modified to access the ServerLifeCycleManager.
Does this approach seem okay to people or is there another mechanism already
within CXF that can do this.
Thanks,
Seán.