com.tibco.tea.agent.api

## Interface TeaObjectProvider<T extends TeaObject>

-     public interface TeaObjectProvider<T extends TeaObject>

  Provider interface which provides a TeaObject given a key. This interface is used by agent library to invoke the operation on the right instance of the ObjectType.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `TeaConcept` | `getConcept()` Return the `TeaConcept` that represents this ObjectType
    `T` | `getInstance(String key)` For a given key, return the instance of the ObjectType that represents that key.
    `String` | `getTypeDescription()` Return the description of the type e.g.
    `String` | `getTypeName()` Return the name of the type e.g.

- - ### Method Detail

    - #### getInstance

          T getInstance(String key)

      For a given key, return the instance of the ObjectType that represents that key.
      Parameters:
        `key` - - identifier for the instance of the ObjectType
      Returns:

    - #### getTypeName

          String getTypeName()

      Return the name of the type e.g. 'Node'
      Returns:

    - #### getTypeDescription

          String getTypeDescription()

      Return the description of the type e.g. 'Process for running the user code'
      Returns:

    - #### getConcept

          TeaConcept getConcept()

      Return the `TeaConcept` that represents this ObjectType
      Returns:

Copyright © 2022 TIBCO Software Inc.. All Rights Reserved.