com.ibm.wsspi.sibx.mediation.wsrr.client

Interface ServiceRegistryProxy



  • public interface ServiceRegistryProxy
    The interface that can be used to communicate with a service registry and its cache
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String $sccsid 
      static java.lang.String COPYRIGHT 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int cacheDepth()
      Return the number of queries that are currently cached.
      void clearCache()
      Clear the cache for this service registry proxy.
      java.lang.String create(DataGraphType dataGraphList)
      Create an object in the service registry that matches a given dataGraphType
      void delete(java.lang.String bsiUri)
      Delete the object within the registry with the supplied bsrURI
      ServiceRegistryDataGraphList get(java.lang.String bsiUri)
      Retrieve an object from the service registry that matches a given bsiUri.
      ServiceRegistryDataGraphList get(java.lang.String bsiUri, int depth)
      Retrieve an object from the service registry that matches a given bsiUri.
      boolean isConnectionSuccessful()
      Test that this Service Registry can be connected to.
      ServiceRegistryDataGraphList namedQuery(java.lang.String namedQuery, java.lang.String[] params)
      Given a named query and array of parameters, return all the content and values that are matched in WSRR.
      ServiceRegistryDataGraphList namedQuery(java.lang.String namedQuery, java.lang.String[] params, EventPoint eventPoint)
      Given a named query and array of parameters, return all the content and values that are matched in WSRR.
      ServiceRegistryDataGraphList query(java.lang.String queryStatement)
      Given a query statement, return all the content and values that are matched in WSRR.
      ServiceRegistryDataGraphList query(java.lang.String queryStatement, int depth)
      Given a query statement and the depth of the search, return all the content and values that are matched in WSRR.
      ServiceRegistryDataGraphList query(java.lang.String queryStatement, int depth, boolean noContent)
      Given a query statement, the depth of the search and if any content will be returned or not, return the values that are matched in WSRR.
      ServiceRegistryDataGraphList query(java.lang.String queryStatement, int depth, boolean noContent, EventPoint eventPoint)
      Given a query statement, the depth of the search and if any content will be returned or not, return the values that are matched in WSRR.
      void update(DataGraphType dataGraphList)
      Update an object in the service registry that matches a given dataGraphType
    • Method Detail

      • query

        ServiceRegistryDataGraphList query(java.lang.String queryStatement,
                                         int depth,
                                         boolean noContent,
                                         EventPoint eventPoint)
                                           throws ServiceRegistryProxyException
        Given a query statement, the depth of the search and if any content will be returned or not, return the values that are matched in WSRR.
        Parameters:
        queryStatement - The XPath query
        depth - The search depth. -1 for infinite depth
        noContent - True if no document content is to be retrieved from the search
        eventPoint - event point for monitoring events.
        Returns:
        A ServiceRegistryDataGraphList object containing the list of matching DataGraphType objects and a time stamp for the query
        Throws:
        ServiceRegistryProxyException
      • query

        ServiceRegistryDataGraphList query(java.lang.String queryStatement,
                                         int depth,
                                         boolean noContent)
                                           throws ServiceRegistryProxyException
        Given a query statement, the depth of the search and if any content will be returned or not, return the values that are matched in WSRR.
        Parameters:
        queryStatement - The XPath query
        depth - The search depth. -1 for infinite depth
        noContent - True if no document content is to be retrieved from the search
        Returns:
        A ServiceRegistryDataGraphList object containing the list of matching DataGraphType objects and a time stamp for the query
        Throws:
        ServiceRegistryProxyException
      • query

        ServiceRegistryDataGraphList query(java.lang.String queryStatement,
                                         int depth)
                                           throws ServiceRegistryProxyException
        Given a query statement and the depth of the search, return all the content and values that are matched in WSRR. Equivalent to calling query(queryStatement, depth, false).
        Parameters:
        queryStatement - The XPath query
        depth - The search depth. -1 for infinite depth
        Returns:
        A ServiceRegistryDataGraphList object containing the list of matching DataGraphType objects and a time stamp for the query
        Throws:
        ServiceRegistryProxyException
      • query

        ServiceRegistryDataGraphList query(java.lang.String queryStatement)
                                           throws ServiceRegistryProxyException
        Given a query statement, return all the content and values that are matched in WSRR. Equivalent to calling query(queryStatement, -1, false).
        Parameters:
        queryStatement - The XPath query
        Returns:
        A ServiceRegistryDataGraphList object containing the list of matching DataGraphType objects and a time stamp for the query
        Throws:
        ServiceRegistryProxyException
      • namedQuery

        ServiceRegistryDataGraphList namedQuery(java.lang.String namedQuery,
                                              java.lang.String[] params)
                                                throws ServiceRegistryProxyException
        Given a named query and array of parameters, return all the content and values that are matched in WSRR.
        Parameters:
        namedQuery - The named query being called
        params - A String array containing the required parameters
        Returns:
        A ServiceRegistryDataGraphList object containing the list of matching DataGraphType objects and a time stamp for the query
        Throws:
        ServiceRegistryProxyException
      • namedQuery

        ServiceRegistryDataGraphList namedQuery(java.lang.String namedQuery,
                                              java.lang.String[] params,
                                              EventPoint eventPoint)
                                                throws ServiceRegistryProxyException
        Given a named query and array of parameters, return all the content and values that are matched in WSRR.
        Parameters:
        namedQuery - The named query being called
        params - A String array containing the required parameters
        eventPoint - event point for monitoring events.
        Returns:
        A ServiceRegistryDataGraphList object containing the list of matching DataGraphType objects and a time stamp for the query
        Throws:
        ServiceRegistryProxyException
      • get

        ServiceRegistryDataGraphList get(java.lang.String bsiUri,
                                       int depth)
                                         throws ServiceRegistryProxyException
        Retrieve an object from the service registry that matches a given bsiUri.
        Parameters:
        bsiUri - The WSRR bsiURI string
        depth - The search depth. -1 for infinite depth
        Returns:
        A ServiceRegistryDataGraphList object containing the list of matching DataGraphType objects and a time stamp for the query
        Throws:
        ServiceRegistryProxyException
      • clearCache

        void clearCache()
        Clear the cache for this service registry proxy.
      • cacheDepth

        int cacheDepth()
        Return the number of queries that are currently cached.
IBM Business Process ManagerTM
Release 8