public class WlssProfileService extends Object implements ProfileService, SipServerExtension
| Modifier and Type | Field and Description |
|---|---|
static WlssProfileService |
THE_ONE |
PROFILE_SERVICE| Modifier and Type | Method and Description |
|---|---|
void |
addProvider(ProviderBean bean) |
void |
configureProfileService(ProfileServiceBean conf) |
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) |
void |
deleteDocument(javax.servlet.sip.Address requestor,
String docSel)
Deletes a document.
|
void |
deleteDocument(String docSel)
Deletes a document.
|
void |
deleteProvider(String name) |
void |
dump() |
Document |
getDocument(javax.servlet.sip.Address requestor,
String docSel)
Gets a document.
|
Document |
getDocument(String docSel)
Gets a document.
|
String |
getName() |
void |
putDocument(javax.servlet.sip.Address requestor,
String docSel,
Document doc)
Updates a document.
|
void |
putDocument(String docSel,
Document doc)
Updates a document.
|
void |
resetMappingInfo(MappingBean mapping) |
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.
|
public static final WlssProfileService THE_ONE
public void dump()
public void configureProfileService(ProfileServiceBean conf) throws ProfileException
ProfileExceptionpublic void resetMappingInfo(MappingBean mapping) throws ProfileException
ProfileExceptionpublic void addProvider(ProviderBean bean) throws ProfileException
ProfileExceptionpublic void deleteProvider(String name)
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic String getName()
getName in interface SipServerExtensionpublic 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.ProfileException