Interface WorkContextHandler

    • 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 type
        workContextClassName - 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 name
        loader - class-loader of the resource-adapter