Package jakarta.ws.rs

Interface SeBootstrap.Instance.StopResult

Enclosing interface:
SeBootstrap.Instance

public static interface SeBootstrap.Instance.StopResult
Result of stopping the application instance.
Since:
3.1
Author:
Markus KARG (markus@headcrashing.eu)
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    unwrap(Class<T> nativeClass)
    Provides access to the wrapped native shutdown result.
  • Method Details

    • unwrap

      <T> T unwrap(Class<T> nativeClass)
      Provides access to the wrapped native shutdown result.

      Implementations may, or may not, have native shutdown results. Portable applications should not invoke this method, as the outcome is undefined.

      Type Parameters:
      T - Requested type of the native result to return.
      Parameters:
      nativeClass - Requested type of the native result to return.
      Returns:
      Native result of shutting down the running application instance or null if the implementation has no native result.
      Throws:
      ClassCastException - if the result is not null or is not assignable to the type T.
      Since:
      3.1