Interface ExternalResourceBinding

    • Method Detail

      • getKey

        java.lang.String getKey()
        Retrieves the key that identifies the ExternalResourceDependency being bound. If this binding is declared in a primitive component, this is exactly the same key as is specified in the ExternalResourceDependency.

        Within an aggregate, a slash-separated name is used to identify which component the binding applies to. For example, if an Aggregate AE contains an annotator with key annotator1 which declares a resource dependency myResource, that Aggregate AE could binding that resource dependency by using the key annotator1/myResource.

        Returns:
        the key for this resource binding.
      • setKey

        void setKey​(java.lang.String aKey)
        Sets the key that identifies the ExternalResourceDependency being bound. If this binding is declared in a primitive component, this is exactly the same key as is specified in the ExternalResourceDependency.

        Within an aggregate, a slash-separated name is used to identify which component the binding applies to. For example, if an Aggregate AE contains an annotator with key annotator1 which declares a resource dependency myResource, that Aggregate AE could binding that resource dependency by using the key annotator1/myResource.

        Parameters:
        aKey - the key for this resource binding.
      • getResourceName

        java.lang.String getResourceName()
        Retrieves the name of the actual Resource instance that will satisfy this dependency. This name must match one of the names specified in an ExternalResourceDescription within the enclosing ResourceManagerConfiguration object.
        Returns:
        the name of the resource satisfying this dependency.
      • setResourceName

        void setResourceName​(java.lang.String aName)
        Sets the name of the actual Resource instance that will satisfy this dependency. This name must match one of the names specified in an ExternalResourceDescription within the enclosing ResourceManagerConfiguration object.
        Parameters:
        aName - the name of the resource satisfying this dependency.