com.ibm.wsspi.sibx.mediation.wsrr.client
Interface ServiceRegistryProxy
- public interface ServiceRegistryProxy
Field Summary
Modifier and Type | Field and Description |
---|---|
|
$sccsid
|
|
COPYRIGHT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
cacheDepth()
Return the number of queries that are currently cached.
|
|
clearCache()
Clear the cache for this service registry proxy.
|
|
create(DataGraphType dataGraphList)
Create an object in the service registry that matches a given dataGraphType
|
|
delete(java.lang.String bsiUri)
Delete the object within the registry with the supplied bsrURI
|
get(java.lang.String bsiUri)
Retrieve an object from the service registry that matches a given bsiUri.
|
|
get(java.lang.String bsiUri,int depth)
Retrieve an object from the service registry that matches a given bsiUri.
|
|
|
isConnectionSuccessful()
Test that this Service Registry can be connected to.
|
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.
|
|
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.
|
|
query(java.lang.String queryStatement)
Given a query statement, return all the content and values that are matched in WSRR.
|
|
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.
|
|
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.
|
|
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.
|
|
|
update(DataGraphType dataGraphList)
Update an object in the service registry that matches a given dataGraphType
|
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
See Also:
$sccsid
- static final java.lang.String $sccsid
See Also:
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:
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:
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:
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:
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:
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:
isConnectionSuccessful
- boolean isConnectionSuccessful( )
- throws ServiceRegistryProxyException
Test that this Service Registry can be connected to. Return true if the connection
have been successful.
Throws:
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:
get
- ServiceRegistryDataGraphList get( java.lang.String bsiUri)
- throws ServiceRegistryProxyException
Retrieve an object from the service registry that matches a given bsiUri.
Equivalent to calling get(bsiUri, -1).
Parameters:
bsiUri
- The WSRR bsiURI string Returns:
A ServiceRegistryDataGraphList object containing the list of matching DataGraphType objects and a time stamp for the query
Throws:
create
- java.lang.String create(DataGraphType dataGraphList)
- throws ServiceRegistryProxyException
Create an object in the service registry that matches a given dataGraphType
delete
- void delete(java.lang.String bsiUri)
- throws ServiceRegistryProxyException
Delete the object within the registry with the supplied bsrURI
update
- void update(DataGraphType dataGraphList)
- throws ServiceRegistryProxyException
Update an object in the service registry that matches a given dataGraphType
Throws:
clearCache
- void clearCache()
Clear the cache for this service registry proxy.
cacheDepth
- int cacheDepth()
Return the number of queries that are currently cached.