public interface ServiceRegistryProxy
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
$sccsid |
static java.lang.String |
COPYRIGHT |
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
|
static final java.lang.String COPYRIGHT
static final java.lang.String $sccsid
ServiceRegistryDataGraphList query(java.lang.String queryStatement, int depth, boolean noContent, EventPoint eventPoint) throws ServiceRegistryProxyException
queryStatement
- The XPath querydepth
- The search depth. -1 for infinite depthnoContent
- True if no document content is to be retrieved from the searcheventPoint
- event point for monitoring events.ServiceRegistryProxyException
ServiceRegistryDataGraphList query(java.lang.String queryStatement, int depth, boolean noContent) throws ServiceRegistryProxyException
queryStatement
- The XPath querydepth
- The search depth. -1 for infinite depthnoContent
- True if no document content is to be retrieved from the searchServiceRegistryProxyException
ServiceRegistryDataGraphList query(java.lang.String queryStatement, int depth) throws ServiceRegistryProxyException
queryStatement
- The XPath querydepth
- The search depth. -1 for infinite depthServiceRegistryProxyException
ServiceRegistryDataGraphList query(java.lang.String queryStatement) throws ServiceRegistryProxyException
queryStatement
- The XPath queryServiceRegistryProxyException
ServiceRegistryDataGraphList namedQuery(java.lang.String namedQuery, java.lang.String[] params) throws ServiceRegistryProxyException
namedQuery
- The named query being calledparams
- A String array containing the required parametersServiceRegistryProxyException
ServiceRegistryDataGraphList namedQuery(java.lang.String namedQuery, java.lang.String[] params, EventPoint eventPoint) throws ServiceRegistryProxyException
namedQuery
- The named query being calledparams
- A String array containing the required parameterseventPoint
- event point for monitoring events.ServiceRegistryProxyException
boolean isConnectionSuccessful() throws ServiceRegistryProxyException
ServiceRegistryProxyException
ServiceRegistryDataGraphList get(java.lang.String bsiUri, int depth) throws ServiceRegistryProxyException
bsiUri
- The WSRR bsiURI stringdepth
- The search depth. -1 for infinite depthServiceRegistryProxyException
ServiceRegistryDataGraphList get(java.lang.String bsiUri) throws ServiceRegistryProxyException
bsiUri
- The WSRR bsiURI stringServiceRegistryProxyException
java.lang.String create(DataGraphType dataGraphList) throws ServiceRegistryProxyException
A
- DataGraphType object containing the object to createServiceRegistryProxyException
void delete(java.lang.String bsiUri) throws ServiceRegistryProxyException
bsiUri
- The WSRR bsiURI stringServiceRegistryProxyException
void update(DataGraphType dataGraphList) throws ServiceRegistryProxyException
A
- DataGraphType object containing the object to updateServiceRegistryProxyException
void clearCache()
int cacheDepth()