| java.lang.Object org.cougaar.servicediscovery.service.UDDI4JUtility
UDDI4JUtility | public class UDDI4JUtility implements YPServiceAdapter(Code) | | Utility class for holding common functions of YP/UDDI4J SD interations,
|
Inner Class :abstract public static class CallbackDelegate implements Callback | |
Method Summary | |
protected BindingTemplates | createBindingTemplates(String uri, TModelInstanceDetails tModelInstanceDetails) | protected void | createTModelInstance(YPProxy proxy, String tModelName, String messageAddress, Callback callback) | public void | discardAuthToken(YPProxy proxy, AuthToken token, Callback callback) | protected void | findBusiness(YPProxy proxy, Vector names, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows, Callback callback) | protected void | findService(YPProxy proxy, String businessKey, Vector names, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows, Callback callback) | protected void | findTModelKey(YPProxy proxy, String tModelName, Callback callback) get the TModel key from YP, possibly using a previous value.
returns the value via the callback. | protected void | findTModelName(YPProxy proxy, String tModelKey, Callback callback) | public void | getAuthToken(YPProxy proxy, String username, String password, Callback callback) | protected void | getBusinessDetail(YPProxy proxy, String key, Callback callback) | protected void | getBusinessDetail(YPProxy proxy, Vector keys, Callback callback) | protected String | getCachedKey(String name) | protected String | getCachedName(String key) | protected void | getKeyedReference(YPProxy proxy, String tModelName, String attribute, String value, Callback callback) | protected void | getServiceDetail(YPProxy proxy, Vector serviceKeys, Callback callback) | protected void | getServiceDetail(YPProxy proxy, String serviceKey, Callback callback) | protected void | launch(YPFuture fut, Callback callback) | protected String | logString(String s) | protected void | loop(Collection collection, Callback sub, Callback next) | protected void | saveBusiness(YPProxy proxy, AuthToken token, Vector entities, Callback callback) | protected void | setCache(String key, String name) | protected void | setCachedKey(String name, String key) | protected void | setCachedName(String key, String name) |
cacheEnabled | protected boolean cacheEnabled(Code) | | |
createBindingTemplates | protected BindingTemplates createBindingTemplates(String uri, TModelInstanceDetails tModelInstanceDetails)(Code) | | |
createTModelInstance | protected void createTModelInstance(YPProxy proxy, String tModelName, String messageAddress, Callback callback)(Code) | | |
discardAuthToken | public void discardAuthToken(YPProxy proxy, AuthToken token, Callback callback)(Code) | | |
findBusiness | protected void findBusiness(YPProxy proxy, Vector names, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows, Callback callback)(Code) | | |
findService | protected void findService(YPProxy proxy, String businessKey, Vector names, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows, Callback callback)(Code) | | |
findTModelKey | protected void findTModelKey(YPProxy proxy, String tModelName, Callback callback)(Code) | | get the TModel key from YP, possibly using a previous value.
returns the value via the callback. On success, Callback.invoke
will pass in a String;
|
findTModelName | protected void findTModelName(YPProxy proxy, String tModelKey, Callback callback)(Code) | | |
getBusinessDetail | protected void getBusinessDetail(YPProxy proxy, String key, Callback callback)(Code) | | |
getBusinessDetail | protected void getBusinessDetail(YPProxy proxy, Vector keys, Callback callback)(Code) | | |
getServiceDetail | protected void getServiceDetail(YPProxy proxy, Vector serviceKeys, Callback callback)(Code) | | |
getServiceDetail | protected void getServiceDetail(YPProxy proxy, String serviceKey, Callback callback)(Code) | | |
logString | protected String logString(String s)(Code) | | Override to pre/post-fix log strings *
|
loop | protected void loop(Collection collection, Callback sub, Callback next)(Code) | | Loop over the collection, calling sub.invoke(element) and finally calling next.invoke(sub)
|
saveBusiness | protected void saveBusiness(YPProxy proxy, AuthToken token, Vector entities, Callback callback)(Code) | | |
|
|