Interface MutableRegistry

    • Method Detail

      • remove

        default <T> void remove​(java.lang.Class<T> type)
                         throws NotInRegistryException
        Remove the registration for the given type.
        Type Parameters:
        T - The type of the thing to remove
        Parameters:
        type - The type of the thing to remove
        Throws:
        NotInRegistryException - if there is nothing registered by that type
      • remove

        <T> void remove​(com.google.common.reflect.TypeToken<T> type)
                 throws NotInRegistryException
        Remove the registration for the given type.
        Type Parameters:
        T - The type of the thing to remove
        Parameters:
        type - The type of the thing to remove
        Throws:
        NotInRegistryException - if there is nothing registered by that type