public class Subscription extends Object implements Referencable
Constructor and Description |
---|
Subscription(String address) |
Subscription(W3CEndpointReference epr) |
Modifier and Type | Method and Description |
---|---|
W3CEndpointReference |
getEpr() |
PausableSubscriptionManager |
getSubscription() |
void |
pause() |
void |
renew(String terminationTime) |
void |
resume() |
void |
unsubscribe() |
public Subscription(String address)
public Subscription(W3CEndpointReference epr)
public PausableSubscriptionManager getSubscription()
public W3CEndpointReference getEpr()
getEpr
in interface Referencable
public void pause() throws PauseFailedFault, ResourceUnknownFault
PauseFailedFault
ResourceUnknownFault
public void resume() throws ResourceUnknownFault, ResumeFailedFault
public void renew(String terminationTime) throws ResourceUnknownFault, UnacceptableTerminationTimeFault
public void unsubscribe() throws UnableToDestroySubscriptionFault, ResourceUnknownFault
Apache CXF