Package com.sun.xml.ws.developer
Interface StatefulWebServiceManager.Callback<T>
-
- Enclosing interface:
- StatefulWebServiceManager<T>
public static interface StatefulWebServiceManager.Callback<T>Used byStatefulWebServiceManager.setTimeout(long, Callback)to determine what to do when the time out is reached.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonTimeout(T timedOutObject, StatefulWebServiceManager<T> manager)Application has a chance to decide if the object should be unexported, or kept alive.
-
-
-
Method Detail
-
onTimeout
void onTimeout(@NotNull T timedOutObject, @NotNull StatefulWebServiceManager<T> manager)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.
-
-