de.fzj.unicore.uas.client
Class UASNotificationClient
java.lang.Object
de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient
de.fzj.unicore.uas.client.BaseUASClient
de.fzj.unicore.uas.client.UASNotificationClient
public class UASNotificationClient
- extends BaseUASClient
simple client for managing notifications (i.e. subscribing, unsubscribing).
- Author:
- schuller
| Fields inherited from class de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient |
epr, proxyMaker, retryDecider, securityProperties, url |
|
Constructor Summary |
UASNotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
org.w3.x2005.x08.addressing.EndpointReferenceType epr,
IUASSecurityProperties sec)
|
UASNotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
java.lang.String endpointUrl,
org.w3.x2005.x08.addressing.EndpointReferenceType epr)
|
UASNotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
java.lang.String endpointUrl,
org.w3.x2005.x08.addressing.EndpointReferenceType epr,
IUASSecurityProperties sec)
|
|
Method Summary |
void |
subscribe(javax.xml.namespace.QName event)
subscribe to all changes of the resource property defined by the given qname. |
void |
subscribe(javax.xml.namespace.QName event,
java.lang.String xpath)
subscribe to "simple" property changes |
void |
unsubscribe(javax.xml.namespace.QName event)
|
| Methods inherited from class de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient |
checkConnection, checkConnection, destroy, getConnectionStatus, getCurrentTime, getEPR, getLT, getMultipleResourceProperties, getResourceProperty, getResourcePropertyDocument, GetResourcePropertyDocument, getRP, getTerminationTime, getUpdateInterval, getUrl, makeProxy, queryResourceProperties, setConnectionTimeout, setConnectionTimeout, setRetryHandler, setTerminationTime, setUpdateInterval |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UASNotificationClient
public UASNotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
java.lang.String endpointUrl,
org.w3.x2005.x08.addressing.EndpointReferenceType epr,
IUASSecurityProperties sec)
throws java.lang.Exception
- Parameters:
consumer - - the EPR of the notification consumer serviceendpointUrl - - the URL of the target serviceepr - - the EPR of the target servicesec - - the security settings to use
- Throws:
java.lang.Exception
UASNotificationClient
public UASNotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
org.w3.x2005.x08.addressing.EndpointReferenceType epr,
IUASSecurityProperties sec)
throws java.lang.Exception
- Parameters:
consumer - - the EPR of the notification consumer serviceepr - - the EPR of the target servicesec - - the security settings to use
- Throws:
java.lang.Exception
UASNotificationClient
public UASNotificationClient(org.w3.x2005.x08.addressing.EndpointReferenceType consumer,
java.lang.String endpointUrl,
org.w3.x2005.x08.addressing.EndpointReferenceType epr)
throws java.lang.Exception
- Parameters:
endpointUrl - epr -
- Throws:
java.lang.Exception
subscribe
public void subscribe(javax.xml.namespace.QName event)
throws java.lang.Exception
- subscribe to all changes of the resource property defined by the given qname.
- Parameters:
event - QName
- Throws:
java.lang.Exception
subscribe
public void subscribe(javax.xml.namespace.QName event,
java.lang.String xpath)
throws java.lang.Exception
- subscribe to "simple" property changes
- Parameters:
event - The QName of the resource property to watchxpath - An xpath expression to use as a message filter
- Throws:
java.lang.Exception
unsubscribe
public void unsubscribe(javax.xml.namespace.QName event)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2006-2010 Research Center Juelich. All Rights Reserved.