DATATYPE - The return type of the function.@Deprecated @Immutable public abstract class AbstractScopeAwareCallable<DATATYPE> extends AbstractScopeAwareAction implements INonThrowingCallable<DATATYPE>
Callable that handles scopes correctly.m_sApplicationID, m_sRequestID, m_sSessionID| Constructor and Description |
|---|
AbstractScopeAwareCallable()
Deprecated.
|
AbstractScopeAwareCallable(String sApplicationID)
Deprecated.
|
AbstractScopeAwareCallable(String sApplicationID,
String sRequestID,
String sSessionID)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
DATATYPE |
call()
Deprecated.
The call back method to be called.
|
protected abstract DATATYPE |
scopedRun()
Deprecated.
Implement your code in here
|
getApplicationID, getRequestID, getSessionID, toStringpublic AbstractScopeAwareCallable()
public AbstractScopeAwareCallable(@Nonnull @Nonempty String sApplicationID)
@Nullable protected abstract DATATYPE scopedRun()
call() method.@Nullable public final DATATYPE call()
INonThrowingCallablecall in interface INonThrowingCallable<DATATYPE>call in interface IThrowingCallable<DATATYPE,Exception>null or non- null
depending on the implementation.Copyright © 2014–2016 Philip Helger. All rights reserved.