Interface ConnectionSession

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T get​(java.lang.Class<T> clazz)
      Get a reference to a configured service from this session.
    • Method Detail

      • get

        <T> T get​(java.lang.Class<T> clazz)
           throws ConnectionException
        Get a reference to a configured service from this session.
        Type Parameters:
        T - The service type.
        Parameters:
        clazz - The class used for a type safe lookup of the type.
        Returns:
        The service.
        Throws:
        ConnectionException - on any error.