public abstract class SessionCallbackWithoutResult<F> extends Object implements SessionCallback<F,Object>
SessionCallback
for cases where
no result is returned.Constructor and Description |
---|
SessionCallbackWithoutResult() |
Modifier and Type | Method and Description |
---|---|
Object |
doInSession(Session<F> session)
Called within the context of a session.
|
protected abstract void |
doInSessionWithoutResult(Session<F> session)
Called within the context of a session.
|
public Object doInSession(Session<F> session) throws IOException
SessionCallback
doInSession
in interface SessionCallback<F,Object>
session
- The session.IOException
- Any IOException.protected abstract void doInSessionWithoutResult(Session<F> session) throws IOException
session
- The session.IOException
- Any IOException.