Package com.sun.xml.ws.developer
Interface StatefulWebServiceManager.Callback<T>
- Enclosing interface:
- StatefulWebServiceManager<T>
public static interface StatefulWebServiceManager.Callback<T>
Used by
StatefulWebServiceManager.setTimeout(long, Callback)
to determine what to do when the time out is reached.-
Method Summary
Modifier and TypeMethodDescriptionvoidonTimeout(T timedOutObject, StatefulWebServiceManager<T> manager) Application has a chance to decide if the object should be unexported, or kept alive.
-
Method Details
-
onTimeout
Application has a chance to decide if the object should be unexported, or kept alive.The application should either unexport the object, or touch the object from within this callback. If no action is taken, the object will remain exported until it is manually unexported.
- Parameters:
timedOutObject- The object that reached the time out.manager- The manager instance that you exported the object to.
-