Apache CXF API

org.apache.cxf.wsn.client
Class Subscription

java.lang.Object
  extended by org.apache.cxf.wsn.client.Subscription
All Implemented Interfaces:
Referencable

public class Subscription
extends Object
implements Referencable


Constructor Summary
Subscription(String address)
           
Subscription(W3CEndpointReference epr)
           
 
Method Summary
 W3CEndpointReference getEpr()
           
 PausableSubscriptionManager getSubscription()
           
 void pause()
           
 void renew(String terminationTime)
           
 void resume()
           
 void unsubscribe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subscription

public Subscription(String address)

Subscription

public Subscription(W3CEndpointReference epr)
Method Detail

getSubscription

public PausableSubscriptionManager getSubscription()

getEpr

public W3CEndpointReference getEpr()
Specified by:
getEpr in interface Referencable

pause

public void pause()
           throws PauseFailedFault,
                  ResourceUnknownFault
Throws:
PauseFailedFault
ResourceUnknownFault

resume

public void resume()
            throws ResourceUnknownFault,
                   ResumeFailedFault
Throws:
ResourceUnknownFault
ResumeFailedFault

renew

public void renew(String terminationTime)
           throws ResourceUnknownFault,
                  UnacceptableTerminationTimeFault
Throws:
ResourceUnknownFault
UnacceptableTerminationTimeFault

unsubscribe

public void unsubscribe()
                 throws UnableToDestroySubscriptionFault,
                        ResourceUnknownFault
Throws:
UnableToDestroySubscriptionFault
ResourceUnknownFault

Apache CXF API

Apache CXF