|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.services.StandardManager
wt.federation.StandardFederationService
public class StandardFederationService
Standard implementation of the federation service interfaces.
Use the newStandardFederationService static factory method(s),
not the StandardFederationService constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
| Nested Class Summary | |
|---|---|
static class |
wt.federation.StandardFederationService.RMIStreamHandler
|
| Method Summary | |
|---|---|
Persistable |
checkFreshness(Persistable obj)
Determines whether the specified object is an expired or stale proxy. |
QueryResult |
checkFreshness(QueryResult qr)
Traverses a QueryResult and determines whether any of the objects contained within it are expired or stale proxies. |
QueryResult |
findObjects(QuerySpec qs)
Sends a query to all federated services, and returns the merged set of results. |
QueryResult |
findObjects(QuerySpec qs,
String serviceName)
Sends a query to the specified federated service, and returns the results. |
QueryResult |
findObjects(QuerySpec qs,
String[] serviceNames)
Sends a query to each of the specified federated services, and returns the merged set of results. |
QueryResult |
findObjects(QuerySpec qs,
String[] serviceNames,
boolean searchLocalDB)
Sends a query to each of the specified federated services, and returns the merged set of results. |
String[] |
getAllServices()
Returns an array of the names of all known federated services. |
String[] |
getNavigableServices(String linkClassName)
Returns an array of the names of federated services that support navigating a specified link class. |
Persistable |
getPersistentInstance(Federated proxy)
Returns a persisted instance of the specified proxy object or null if the proxy has no persisted instance. |
String[] |
getQueryableServices(String className)
Returns an array of the names of federated services that support querying a specified class. |
InputStream |
invokeInfoEngineTemplate(String url)
Sends a request to Info*Engine to execute the specified template. |
InputStream |
invokeInfoEngineTemplate(String url,
Hashtable params)
Sends a request to Info*Engine to execute the specified template, optionally providing parameters in URL-encoded form data. |
void |
refresh(Federated proxy)
Refreshes the properties of a proxy object. |
void |
refreshIfStale(Federated proxy)
Refreshes the properties of a proxy object, but only if the object is stale. |
Vector |
retrieveInfoEngineObjects(String url)
Sends a request to Info*Engine to retrieve objects associated with the specified URL. |
void |
sendFeedback(MethodFeedback feedbackObject)
Sends Feedback objects to the client. |
Federated |
storeProxy(Federated proxy)
Stores a proxy object in the persistent data service. |
void |
syncObjects(Externalizable source,
Externalizable target)
Copies the properties of a specified source object to a target object. |
| Methods inherited from class wt.services.StandardManager |
|---|
getManagerService, getManagerStatus, getName, getStartupType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public QueryResult findObjects(QuerySpec qs)
throws wt.federation.FederationServicesException,
WTException
findObjects in interface FederationServiceqs - the search criteria to use for the query.
wt.federation.FederationServicesException
WTException
public QueryResult findObjects(QuerySpec qs,
String serviceName)
throws wt.federation.FederationServicesException,
WTException
findObjects in interface FederationServiceqs - the search criteria to use for the query.serviceName - the name of the federated service to be queried.
wt.federation.FederationServicesException
WTException
public QueryResult findObjects(QuerySpec qs,
String[] serviceNames)
throws wt.federation.FederationServicesException,
WTException
findObjects in interface FederationServiceqs - the search criteria to use for the query.serviceNames - the names of the federated services to be queried.
wt.federation.FederationServicesException
WTException
public QueryResult findObjects(QuerySpec qs,
String[] serviceNames,
boolean searchLocalDB)
throws wt.federation.FederationServicesException,
WTException
findObjects in interface FederationServiceqs - the search criteria to use for the query.serviceNames - the names of the federated services to be queried.searchLocalDB - set to true if the local system should be queried.
wt.federation.FederationServicesException
WTException
public String[] getAllServices()
throws wt.federation.FederationServicesException,
WTException
getAllServices in interface FederationServicewt.federation.FederationServicesException
WTException
public String[] getNavigableServices(String linkClassName)
throws wt.federation.FederationServicesException,
WTException
getNavigableServices in interface FederationServicelinkClassName - the name of the class for which navigation is desired.
wt.federation.FederationServicesException
WTException
public Persistable getPersistentInstance(Federated proxy)
throws wt.federation.FederationServicesException,
WTException
getPersistentInstance in interface FederationServiceproxy - the proxy object.
wt.federation.FederationServicesException
WTException
public String[] getQueryableServices(String className)
throws wt.federation.FederationServicesException,
WTException
getQueryableServices in interface FederationServiceclassName - the name of the class for which querying is desired.
wt.federation.FederationServicesException
WTException
public Vector retrieveInfoEngineObjects(String url)
throws wt.federation.FederationServicesException,
WTException
retrieveInfoEngineObjects in interface FederationServiceurl - the URL identifying the objects to be retrieved.
wt.federation.FederationServicesException
WTException
public Federated storeProxy(Federated proxy)
throws wt.federation.FederationServicesException,
WTException
storeProxy in interface FederationServiceproxy - the object to be persisted.
wt.federation.FederationServicesException
WTException
public void syncObjects(Externalizable source,
Externalizable target)
throws wt.federation.FederationServicesException,
WTException
syncObjects in interface FederationServicesource - the source object.target - the target object.
wt.federation.FederationServicesException
WTException
public Persistable checkFreshness(Persistable obj)
throws wt.federation.FederationServicesException
checkFreshness in interface FederationServiceSvrobj - the object to be checked.
wt.federation.FederationServicesException
public QueryResult checkFreshness(QueryResult qr)
throws wt.federation.FederationServicesException
checkFreshness in interface FederationServiceSvrqr - the QueryResult to be checked.
wt.federation.FederationServicesException
public InputStream invokeInfoEngineTemplate(String url)
throws wt.federation.FederationServicesException
invokeInfoEngineTemplate in interface FederationServiceSvrurl - the URL identifying the template to be executed.
wt.federation.FederationServicesException
public InputStream invokeInfoEngineTemplate(String url,
Hashtable params)
throws wt.federation.FederationServicesException
invokeInfoEngineTemplate in interface FederationServiceSvrurl - the URL identifying the template to be executed.params - Hashtable of parameters to be sent as form data.
wt.federation.FederationServicesException
public void refresh(Federated proxy)
throws wt.federation.FederationServicesException
refresh in interface FederationServiceSvrproxy - the proxy object to be refreshed.
wt.federation.FederationServicesException
public void refreshIfStale(Federated proxy)
throws wt.federation.FederationServicesException
refreshIfStale in interface FederationServiceSvrproxy - the proxy object to be refreshed.
wt.federation.FederationServicesException
public void sendFeedback(MethodFeedback feedbackObject)
throws wt.federation.FederationServicesException
sendFeedback in interface FederationServiceSvrfeedbackObject - Required. The feedback object to be sent to the client.
wt.federation.FederationServicesException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||