|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.uddi.client.UDDIClient
UDDIClient is an implementation of a V2 UDDI client that converts incoming method calls to XML on-the-wire format and then sends them via HTTP to their remote destination. Authorization is performed on-demand when the first publication method is invoked.
Field Summary |
Fields inherited from interface electric.soap.ISOAPConstants |
ACTOR, ASYNC, BODY, DETAIL, ENCODING_STYLE, ENVELOPE, EXCEPTION, FAULT, FAULT_ACTOR, FAULT_CODE, FAULT_STRING, GET_SOAP_ACTOR, GET_SOAP_CODE, HEADER, MUST_UNDERSTAND, NEXT_ACTOR, OPTIMIZED_HEADER, SET_SOAP_ACTOR, SET_SOAP_CODE, SET_SOAP_DETAIL, SOAP_ACTION_HEADER, SOAP_BINDING, SOAP_ENCODING, SOAP_ENCODING_PREFIX, SOAP_ENVELOPE, SOAP_HTTP_TRANSPORT, SOAP_PREFIX, SOAP11_BINDING, SOAP11_ENCODING, SOAP11_ENVELOPE, SOAP12, SOAP12_BINDING, SOAP12_ENCODING, SOAP12_ENVELOPE, SOAP12_HTTP_CONTENT_TYPE, STACKTRACE, TME_PREFIX, UNDERSTOOD, XSD_PREFIX, XSI_PREFIX, XSI_SUFFIX |
Fields inherited from interface electric.glue.IGLUELoggingConstants |
CLUSTER_DEBUG_EVENT, CLUSTER_EVENT, CONSOLE_DEBUG_EVENT, DEPLOY_EVENT, DETECTORS_EVENT, HTTP_EVENT, JMS_EVENT, REBINDING_EVENT, SECURITY_DEBUG_EVENT, SECURITY_DETAIL_EVENT, SERVLET_EVENT, SOAP_EVENT |
Fields inherited from interface electric.xml.IEXMLLoggingConstants |
MAPPING_EVENT, SCHEMA_EVENT |
Fields inherited from interface electric.util.log.ILoggingConstants |
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT |
Constructor Summary | |
UDDIClient(java.lang.String inquiryURL)
Construct a UDDIClient that uses the specified URL for inquiring only. |
|
UDDIClient(java.lang.String inquiryURL,
Context context)
Construct a UDDIClient that uses the specified URL for inquiring only. |
|
UDDIClient(java.lang.String inquiryURL,
java.lang.String publicationURL,
java.lang.String user,
java.lang.String password)
Construct a UDDIClient that uses the specified URLs for inquiring and publishing, and that uses the specified user/password information when authenticating. |
|
UDDIClient(java.lang.String inquiryURL,
java.lang.String publicationURL,
java.lang.String user,
java.lang.String password,
Context context)
Construct a UDDIClient that uses the specified URLs for inquiring and publishing, and that uses the specified user/password information when authenticating. |
Method Summary | |
void |
addAssertions(Assertion[] assertions)
Add the publisher assertions. |
void |
deleteAssertions(Assertion[] assertions)
Deletes the publisher assertions. |
void |
deleteBinding(java.lang.String bindingKey)
Delete the Binding with the specified key. |
void |
deleteBindings(java.lang.String[] bindingKeys)
Delete the Bindings with the specified keys. |
void |
deleteBusiness(java.lang.String businessKey)
Delete the Business with the specified key. |
void |
deleteBusinesses(java.lang.String[] businessKeys)
Delete the Businesses with the specified keys. |
void |
deleteService(java.lang.String serviceKey)
Delete the Service with the specified key. |
void |
deleteServices(java.lang.String[] serviceKeys)
Delete the Services with the specified keys. |
void |
deleteSubscription(java.lang.String[] subscriptionKeys)
|
void |
deleteTModel(java.lang.String tModelKey)
Delete the TModel with the specified key. |
void |
deleteTModels(java.lang.String[] tModelKeys)
Delete the TModels with the specified keys. |
void |
discardAuthorization()
Discard authorization for the caller. |
Bindings |
findBindings(FindBindings query)
Return summaries of Bindings that satisfy the query. |
Bindings |
findBindings(java.lang.String serviceKey,
java.lang.String[] tModelKeys,
Qualifier qualifier)
Return summaries of Bindings that satisfy the query. |
BusinessInfos |
findBusinesses(FindBusinesses query)
Return summaries of Businesses that have the specified values. |
BusinessInfos |
findBusinesses(Name[] names,
Identifier[] identifiers,
Category[] categories,
java.lang.String[] tModelKeys,
DiscoveryURL[] discoveryURLs,
Qualifier qualifier)
Return summaries of Businesses that have the specified values. |
RelatedBusinessInfos |
findRelatedBusinesses(FindRelatedBusinesses query)
Returns a list of related businesses that satisfy the specified query. |
RelatedBusinessInfos |
findRelatedBusinesses(java.lang.String businessKey,
Identifier keyedReference,
Qualifier qualifier)
Returns a list of related businesses that satisfy the specified query. |
ServiceInfos |
findServices(FindServices query)
Return summaries of Services that satisfy the specified query. |
ServiceInfos |
findServices(java.lang.String businessKey,
Name[] names,
Category[] categories,
java.lang.String[] tModelKeys,
Qualifier qualifier)
Return summaries of Services that satisfy the specified query. |
TModelInfos |
findTModels(FindTModels query)
Return summaries of TModels that satifies the specified query. |
TModelInfos |
findTModels(java.lang.String name,
Identifier[] identifiers,
Category[] categories,
Qualifier qualifier)
Return summaries of TModels that satifies the specified query. |
Assertions |
getAssertions()
Get all the publisher assertions. |
AssertionStatusReport |
getAssertionStatusReport(java.lang.String status)
Returns assertion status information. |
Authorization |
getAuthorization()
Gets the authorization using the stored user and password parameters. |
Authorization |
getAuthorization(java.lang.String user,
java.lang.String password)
Get authorization for the specified user and password. |
Binding |
getBinding(java.lang.String bindingKey)
Return the Binding corresponding to the specified key. |
Bindings |
getBindings(java.lang.String[] bindingKeys)
Return the Bindings corresponding to the specified keys. |
Business |
getBusiness(java.lang.String businessKey)
Return the Business corresponding to the specified key. |
Businesses |
getBusinesses(java.lang.String[] businessKeys)
Return the Businesses corresponding to the specified keys. |
Businesses |
getBusinessesExtended(java.lang.String[] businessKeys)
Return the Businesses corresponding to the specified keys. |
Business |
getBusinessExtended(java.lang.String businessKey)
Return the Business corresponding to the specified key. |
java.lang.String |
getInquiryURL()
|
OperationalInfos |
getOperationalInfo(java.lang.String[] keys)
|
java.lang.String |
getPassword()
|
java.lang.String |
getPublicationURL()
|
Registered |
getRegistered()
Get information about all of the callers registered entries. |
IUDDIServer |
getServer()
|
Service |
getService(java.lang.String serviceKey)
Return the Service corresponding to the specified key. |
Services |
getServices(java.lang.String[] serviceKeys)
Return the Services corresponding to the specified keys. |
SubscriptionResults |
getSubscriptionResults(GetSubscriptionResults query)
|
Subscriptions |
getSubscriptions()
|
TModel |
getTModel(java.lang.String tModelKey)
Return the TModel corresponding to the specified key. |
TModels |
getTModels(java.lang.String[] tModelKeys)
Return the TModels corresponding to the specified keys. |
java.lang.String |
getUser()
|
SOAPMessage |
invokeInquiry(SOAPMessage message,
Context messageContext)
|
SOAPMessage |
invokePublication(SOAPMessage message,
Context messageContext)
|
boolean |
isLocal()
|
Binding |
saveBinding(Binding binding)
Save the specified Binding. |
Bindings |
saveBindings(Binding[] bindings)
Save the specified Bindings. |
Business |
saveBusiness(Business business)
Save the specified Business. |
Business |
saveBusiness(java.lang.String url)
Save the Business described by XML at the specified URL. |
Businesses |
saveBusinesses(Business[] businesses)
Save the specified Businesses. |
Businesses |
saveBusinesses(java.lang.String[] urls)
Save the Businesses described by XML at the specified URLs. |
Service |
saveService(Service service)
Save the specified Service. |
Services |
saveServices(Service[] services)
Save the specified Services. |
Duration |
saveSubscriptions(Subscription[] subscriptions)
|
TModel |
saveTModel(java.lang.String url)
Save the TModel defined by XML at the specified URL. |
TModel |
saveTModel(TModel tModel)
Save the specified TModel. |
TModels |
saveTModels(java.lang.String[] urls)
Save the TModels defined by XML at the specified URLs. |
TModels |
saveTModels(TModel[] tModels)
Save the specified TModels. |
Assertions |
setAssertions(Assertion[] assertions)
Replaces the set of publisher assertions associated with the user. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UDDIClient(java.lang.String inquiryURL) throws UDDIException
inquiryURL
- The URL to use for inquiring.
UDDIException
- if a UDDI error occurs.public UDDIClient(java.lang.String inquiryURL, Context context) throws UDDIException
inquiryURL
- The URL to use for inquiring.context
- The context.
UDDIException
- if a UDDI error occurs.public UDDIClient(java.lang.String inquiryURL, java.lang.String publicationURL, java.lang.String user, java.lang.String password) throws UDDIException
inquiryURL
- The URL to use for inquiring.publicationURL
- The URL to use for publishing.user
- The user to use when authenicating.password
- The password to use when authenticating.
UDDIException
- if a UDDI error occurs.public UDDIClient(java.lang.String inquiryURL, java.lang.String publicationURL, java.lang.String user, java.lang.String password, Context context) throws UDDIException
inquiryURL
- The URL to use for inquiring.publicationURL
- The URL to use for publishing.user
- The user to use when authenicating.password
- The password to use when authenticating.context
- The context.
UDDIException
- if a UDDI error occurs.Method Detail |
public java.lang.String toString()
public IUDDIServer getServer()
public boolean isLocal()
public java.lang.String getUser()
public java.lang.String getPassword()
public java.lang.String getInquiryURL()
public java.lang.String getPublicationURL()
public SOAPMessage invokeInquiry(SOAPMessage message, Context messageContext) throws java.rmi.RemoteException, java.lang.SecurityException
message
- messageContext
-
java.rmi.RemoteException
java.lang.SecurityException
public SOAPMessage invokePublication(SOAPMessage message, Context messageContext) throws java.rmi.RemoteException, java.lang.SecurityException
message
- messageContext
-
java.rmi.RemoteException
java.lang.SecurityException
public BusinessInfos findBusinesses(FindBusinesses query) throws UDDIException
query
- The query.
UDDIException
- if a UDDI error occurs.public BusinessInfos findBusinesses(Name[] names, Identifier[] identifiers, Category[] categories, java.lang.String[] tModelKeys, DiscoveryURL[] discoveryURLs, Qualifier qualifier) throws UDDIException
names
- The names to match against.identifiers
- categories
- tModelKeys
- discoveryURLs
- qualifier
- A qualifier. Null selects the defaults.
UDDIException
- if a UDDI error occurs.public Businesses getBusinesses(java.lang.String[] businessKeys) throws UDDIException
businessKeys
- The business keys.
UDDIException
- if a UDDI error occurs.public Business getBusiness(java.lang.String businessKey) throws UDDIException
businessKey
- The business key.
UDDIException
- if a UDDI error occurs.public Businesses getBusinessesExtended(java.lang.String[] businessKeys) throws UDDIException
businessKeys
-
UDDIException
- if a UDDI error occurs.public Business getBusinessExtended(java.lang.String businessKey) throws UDDIException
businessKey
-
UDDIException
- if a UDDI error occurs.public RelatedBusinessInfos findRelatedBusinesses(FindRelatedBusinesses query) throws UDDIException
query
- The query.
UDDIException
- if a UDDI error occurs.public RelatedBusinessInfos findRelatedBusinesses(java.lang.String businessKey, Identifier keyedReference, Qualifier qualifier) throws UDDIException
businessKey
- keyedReference
- qualifier
-
UDDIException
- if a UDDI error occurs.public ServiceInfos findServices(FindServices query) throws UDDIException
query
- The query.
UDDIException
- if a UDDI error occurs.public ServiceInfos findServices(java.lang.String businessKey, Name[] names, Category[] categories, java.lang.String[] tModelKeys, Qualifier qualifier) throws UDDIException
businessKey
- names
- categories
- tModelKeys
- qualifier
-
UDDIException
- if a UDDI error occurs.public Services getServices(java.lang.String[] serviceKeys) throws UDDIException
serviceKeys
-
UDDIException
- if a UDDI error occurs.public Service getService(java.lang.String serviceKey) throws UDDIException
serviceKey
-
UDDIException
- if a UDDI error occurs.public Bindings findBindings(FindBindings query) throws UDDIException
query
- The query.
UDDIException
- if a UDDI error occurs.public Bindings findBindings(java.lang.String serviceKey, java.lang.String[] tModelKeys, Qualifier qualifier) throws UDDIException
serviceKey
- tModelKeys
- qualifier
-
UDDIException
- if a UDDI error occurs.public Bindings getBindings(java.lang.String[] bindingKeys) throws UDDIException
bindingKeys
- The binding keys.
UDDIException
- if a UDDI error occurs.public Binding getBinding(java.lang.String bindingKey) throws UDDIException
bindingKey
- The binding key.
UDDIException
- if a UDDI error occurs.public TModelInfos findTModels(FindTModels query) throws UDDIException
query
- The query.
UDDIException
- if a UDDI error occurs.public TModelInfos findTModels(java.lang.String name, Identifier[] identifiers, Category[] categories, Qualifier qualifier) throws UDDIException
name
- identifiers
- categories
- qualifier
-
UDDIException
- if a UDDI error occurs.public TModels getTModels(java.lang.String[] tModelKeys) throws UDDIException
tModelKeys
- The TModel keys.
UDDIException
- if a UDDI error occurs.public TModel getTModel(java.lang.String tModelKey) throws UDDIException
tModelKey
- The TModel key.
UDDIException
- if a UDDI error occurs.public OperationalInfos getOperationalInfo(java.lang.String[] keys) throws UDDIException
keys
-
UDDIException
- if a UDDI error occurs.public Businesses saveBusinesses(Business[] businesses) throws UDDIException
businesses
- The businesses to save.
UDDIException
- if a UDDI error occurs.public Business saveBusiness(Business business) throws UDDIException
business
- The business to save.
UDDIException
- if a UDDI error occurs.public Businesses saveBusinesses(java.lang.String[] urls) throws UDDIException
urls
- The URLs.
UDDIException
- if a UDDI error occurs.public Business saveBusiness(java.lang.String url) throws UDDIException
url
- The URL.
UDDIException
- if a UDDI error occurs.public void deleteBusinesses(java.lang.String[] businessKeys) throws UDDIException
businessKeys
- The business keys.
UDDIException
- if a UDDI error occurs.public void deleteBusiness(java.lang.String businessKey) throws UDDIException
businessKey
- The business key.
UDDIException
- if a UDDI error occurs.public Services saveServices(Service[] services) throws UDDIException
services
- The services to save.
UDDIException
- if a UDDI error occurs.public Service saveService(Service service) throws UDDIException
service
- The service to save.
UDDIException
- if a UDDI error occurs.public void deleteServices(java.lang.String[] serviceKeys) throws UDDIException
serviceKeys
- The service keys.
UDDIException
- if a UDDI error occurs.public void deleteService(java.lang.String serviceKey) throws UDDIException
serviceKey
- The service key.
UDDIException
- if a UDDI error occurs.public Bindings saveBindings(Binding[] bindings) throws UDDIException
bindings
- The bindings to save.
UDDIException
- if a UDDI error occurs.public Binding saveBinding(Binding binding) throws UDDIException
binding
- The binding to save.
UDDIException
- if a UDDI error occurs.public void deleteBindings(java.lang.String[] bindingKeys) throws UDDIException
bindingKeys
- The binding keys.
UDDIException
- if a UDDI error occurs.public void deleteBinding(java.lang.String bindingKey) throws UDDIException
bindingKey
- The binding key.
UDDIException
- if a UDDI error occurs.public TModels saveTModels(TModel[] tModels) throws UDDIException
tModels
- The TModels to save.
UDDIException
- if a UDDI error occurs.public TModel saveTModel(TModel tModel) throws UDDIException
tModel
- The TModel to save.
UDDIException
- if a UDDI error occurs.public TModels saveTModels(java.lang.String[] urls) throws UDDIException
urls
- The URLs.
UDDIException
- if a UDDI error occurs.public TModel saveTModel(java.lang.String url) throws UDDIException
url
- The URL.
UDDIException
- if a UDDI error occurs.public void deleteTModels(java.lang.String[] tModelKeys) throws UDDIException
tModelKeys
- The TModel keys.
UDDIException
- if a UDDI error occurs.public void deleteTModel(java.lang.String tModelKey) throws UDDIException
tModelKey
- The TModel key.
UDDIException
- if a UDDI error occurs.public void addAssertions(Assertion[] assertions) throws UDDIException
assertions
- The assertions to add.
UDDIException
- if a UDDI error occurs.public void deleteAssertions(Assertion[] assertions) throws UDDIException
assertions
- The assertions to delete.
UDDIException
- if a UDDI error occurs.public Assertions getAssertions() throws UDDIException
UDDIException
- if a UDDI error occurs.public Assertions setAssertions(Assertion[] assertions) throws UDDIException
assertions
- The assertions to replace with.
UDDIException
- if a UDDI error occurs.public AssertionStatusReport getAssertionStatusReport(java.lang.String status) throws UDDIException
status
- The status used in the inquiry.
UDDIException
- if a UDDI error occurs.public Registered getRegistered() throws UDDIException
UDDIException
- if a UDDI error occurs.public Authorization getAuthorization(java.lang.String user, java.lang.String password) throws UDDIException
user
- The user name.password
- The password.
UDDIException
- if a UDDI error occurs.public Authorization getAuthorization() throws UDDIException
UDDIException
public void discardAuthorization() throws UDDIException
UDDIException
- if a UDDI error occurs.public void deleteSubscription(java.lang.String[] subscriptionKeys) throws UDDIException
subscriptionKeys
-
UDDIException
public SubscriptionResults getSubscriptionResults(GetSubscriptionResults query) throws UDDIException
query
-
UDDIException
public Subscriptions getSubscriptions() throws UDDIException
UDDIException
public Duration saveSubscriptions(Subscription[] subscriptions) throws UDDIException
subscriptions
-
UDDIException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |