Interface WorkContextHandler
-
- All Known Implementing Classes:
WorkContextHandlerImpl
@Contract public interface WorkContextHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(String raName, ClassLoader loader)initialize the work-context-handlerbooleanisContextSupported(boolean strict, String workContextClassName)indicates whether the provided workContextClass is supported by the container
-
-
-
Method Detail
-
isContextSupported
boolean isContextSupported(boolean strict, String workContextClassName)indicates whether the provided workContextClass is supported by the container- Parameters:
strict- indicates whether the type-check need to be strict or not i.e., exact type or its super-class typeworkContextClassName- inflow context class name- Returns:
- boolean indicating whether the workContextClass is supported or not
-
init
void init(String raName, ClassLoader loader)
initialize the work-context-handler- Parameters:
raName- resource-adapter nameloader- class-loader of the resource-adapter
-
-