public class ProfileServiceSpiImplBase extends Object implements ProfileServiceSpi
PROFILE_SERVICE| Constructor and Description |
|---|
ProfileServiceSpiImplBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteDocument(javax.servlet.sip.Address requestor,
String docSel)
Deletes a document.
|
void |
deleteDocument(String docSel)
Deletes a document.
|
Document |
getDocument(javax.servlet.sip.Address requestor,
String docSel)
Gets a document.
|
Document |
getDocument(String docSel)
Gets a document.
|
void |
putDocument(javax.servlet.sip.Address requestor,
String docSel,
Document doc)
Updates a document.
|
void |
putDocument(String docSel,
Document doc)
Updates a document.
|
void |
register(ProviderBean bean)
This method is called when the profile service attempts to
register an instance of this provider.
|
ProfileSubscription |
subscribe(javax.servlet.sip.Address subscriber,
javax.servlet.sip.SipApplicationSession session,
String docSel,
int duration,
Serializable info)
Subscribes to change notifications for a document described by the docSel
document selector.
|
ProfileSubscription |
subscribe(javax.servlet.sip.Address subscriber,
javax.servlet.sip.SipApplicationSession session,
String docSel,
Serializable info)
Subscribes to change notifications for a document described by the docSel
document selector.
|
ProfileSubscription |
subscribe(javax.servlet.sip.SipApplicationSession session,
String docSel,
int duration,
Serializable info)
Subscribes to change notifications for a document described by the docSel
document selector.
|
ProfileSubscription |
subscribe(javax.servlet.sip.SipApplicationSession session,
String docSel,
Serializable info)
Subscribes to change notifications for a document described by the docSel
document selector.
|
void |
unregister()
This method is called to inform the profile service provider that
it is being disconnected from the profile service.
|
public Document getDocument(String docSel) throws ProfileException
ProfileServicegetDocument in interface ProfileServicedocSel - the document selector to useProfileExceptionpublic Document getDocument(javax.servlet.sip.Address requestor, String docSel) throws ProfileException
ProfileServicegetDocument in interface ProfileServicerequestor - the party making the requestdocSel - the DocumentProfileExceptionpublic void putDocument(String docSel, Document doc) throws ProfileException
ProfileServiceputDocument in interface ProfileServicedocSel - the document selector to usedoc - the Document to updateProfileExceptionpublic void putDocument(javax.servlet.sip.Address requestor,
String docSel,
Document doc)
throws ProfileException
ProfileServiceputDocument in interface ProfileServicerequestor - the party making the requestdocSel - the document selector to usedoc - the Document to updateProfileExceptionpublic void deleteDocument(String docSel) throws ProfileException
ProfileServicedeleteDocument in interface ProfileServicedocSel - the document selector to useProfileExceptionpublic void deleteDocument(javax.servlet.sip.Address requestor,
String docSel)
throws ProfileException
ProfileServicedeleteDocument in interface ProfileServicerequestor - the party ordering the deletedocSel - the document selector to useProfileExceptionpublic ProfileSubscription subscribe(javax.servlet.sip.SipApplicationSession session, String docSel, Serializable info) throws ProfileException
ProfileServicesubscribe
method.subscribe in interface ProfileServicesession - The session interested in this subscriptiondocSel - The document Selectorinfo - Extra information to be passed in the callbackProfileExceptionpublic ProfileSubscription subscribe(javax.servlet.sip.Address subscriber, javax.servlet.sip.SipApplicationSession session, String docSel, Serializable info) throws ProfileException
ProfileServicesubscribe
method.subscribe in interface ProfileServicesubscriber - the party making the subscriptionsession - The session interested in this subscriptiondocSel - The document Selectorinfo - Extra information to be passed in the callbackProfileExceptionpublic ProfileSubscription subscribe(javax.servlet.sip.SipApplicationSession session, String docSel, int duration, Serializable info) throws ProfileException
ProfileServicesubscribe in interface ProfileServicesession - The session interested in this subscriptiondocSel - The document Selectorduration - The length of the subscription in secondsinfo - Extra information to be passed in the callbackProfileExceptionpublic ProfileSubscription subscribe(javax.servlet.sip.Address subscriber, javax.servlet.sip.SipApplicationSession session, String docSel, int duration, Serializable info) throws ProfileException
ProfileServicesubscribe in interface ProfileServicesubscriber - The party making the subscription.session - The session interested in this subscriptiondocSel - The document Selectorduration - The length of the subscription in secondsinfo - Extra information to be passed in the callback.ProfileExceptionpublic void register(ProviderBean bean) throws ProfileException
ProfileServiceSpiregister in interface ProfileServiceSpibean - Configuration bean; use for initialization.ProfileExceptionpublic void unregister()
ProfileServiceSpiunregister in interface ProfileServiceSpi