Interface Retriever


  • @Deprecated
    public interface Retriever
    Deprecated.
    cft. deprecation comment in OMTool.
    This interface marks a class that has a retrieve(String) method.
    Version:
    $Id: Retriever.java 1812628 2017-10-19 12:34:25Z gk $
    Author:
    John D. McNally
    • Method Detail

      • retrieve

        Object retrieve​(String key)
                 throws Exception
        Deprecated.
        Gets an object of the same type as the object implementing this method according to the key.
        Parameters:
        key - the key for the object
        Returns:
        the object that matches the key
        Throws:
        Exception - if something goes wrong