public static interface StatefulWebServiceManager.Callback<T>
StatefulWebServiceManager.setTimeout(long, Callback)
to determine what to do when the time out is reached.Modifier and Type | Method and Description |
---|---|
void |
onTimeout(T timedOutObject,
StatefulWebServiceManager<T> manager)
Application has a chance to decide if the object should be unexported,
or kept alive.
|
void onTimeout(@NotNull T timedOutObject, @NotNull StatefulWebServiceManager<T> manager)
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.
timedOutObject
- The object that reached the time out.manager
- The manager instance that you exported the object to.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.