|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used to notify the application that changes of some
kind have occurred to subscriptions that were made using
ProfileService.subscribe(javax.servlet.sip.SipApplicationSession, String, java.io.Serializable)
or one of the sibling methods.
Note that as described in ProfileSubscription
, a subscription is in
one of three states: PENDING, ACTIVE, or INACTIVE.
The application is most likely interested in the update() notifications.
Such updates are received only in the ACTIVE state.
Method Summary | |
void |
activation(ProfileSubscription ps)
Called when a profile subscription moves from PENDING to ACTIVE state. |
void |
expiry(ProfileSubscription ps)
Called when a subscription moves from ACTIVE to INACTIVE state. |
void |
failure(ProfileSubscription ps,
ProfileException e)
Called when an active subscription is terminated due to an error. |
void |
modification(ProfileSubscription ps)
Called when the terms of an active subscription are modified. |
void |
rejection(ProfileSubscription ps,
ProfileException e)
Called when a profileSubscription moves from PENDING to INACTIVE state. |
void |
update(ProfileSubscription ps,
org.w3c.dom.Document doc)
Invoked when a change happens to a Document to which a subscription has been made. |
Method Detail |
public void activation(ProfileSubscription ps)
ps
- the profile subscriptionpublic void expiry(ProfileSubscription ps)
ps
- the profile subscriptionpublic void failure(ProfileSubscription ps, ProfileException e)
ps
- the profile subscription.public void modification(ProfileSubscription ps)
ps
- the profile subscriptionpublic void rejection(ProfileSubscription ps, ProfileException e)
ps
- the profile subscriptione
- the exception that prevented the operation from succeedingpublic void update(ProfileSubscription ps, org.w3c.dom.Document doc)
ps
- the profile subscriptiondoc
- the document
|
Documentation is available at http://e-docs.bea.com/wlcp/wlss31/ Copyright 2007 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |