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
ProfileException
public void resetMappingInfo(MappingBean mapping) throws ProfileException
ProfileException
public void addProvider(ProviderBean bean) throws ProfileException
ProfileException
public void deleteProvider(String name)
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed
in interface javax.servlet.ServletContextListener
public String getName()
getName
in interface SipServerExtension
public Document getDocument(String docSel) throws ProfileException
ProfileService
getDocument
in interface ProfileService
docSel
- the document selector to useProfileException
public Document getDocument(javax.servlet.sip.Address requestor, String docSel) throws ProfileException
ProfileService
getDocument
in interface ProfileService
requestor
- the party making the requestdocSel
- the DocumentProfileException
public void putDocument(String docSel, Document doc) throws ProfileException
ProfileService
putDocument
in interface ProfileService
docSel
- the document selector to usedoc
- the Document to updateProfileException
public void putDocument(javax.servlet.sip.Address requestor, String docSel, Document doc) throws ProfileException
ProfileService
putDocument
in interface ProfileService
requestor
- the party making the requestdocSel
- the document selector to usedoc
- the Document to updateProfileException
public void deleteDocument(String docSel) throws ProfileException
ProfileService
deleteDocument
in interface ProfileService
docSel
- the document selector to useProfileException
public void deleteDocument(javax.servlet.sip.Address requestor, String docSel) throws ProfileException
ProfileService
deleteDocument
in interface ProfileService
requestor
- the party ordering the deletedocSel
- the document selector to useProfileException
public ProfileSubscription subscribe(javax.servlet.sip.SipApplicationSession session, String docSel, Serializable info) throws ProfileException
ProfileService
subscribe
method.subscribe
in interface ProfileService
session
- The session interested in this subscriptiondocSel
- The document Selectorinfo
- Extra information to be passed in the callbackProfileException
public ProfileSubscription subscribe(javax.servlet.sip.Address subscriber, javax.servlet.sip.SipApplicationSession session, String docSel, Serializable info) throws ProfileException
ProfileService
subscribe
method.subscribe
in interface ProfileService
subscriber
- the party making the subscriptionsession
- The session interested in this subscriptiondocSel
- The document Selectorinfo
- Extra information to be passed in the callbackProfileException
public ProfileSubscription subscribe(javax.servlet.sip.SipApplicationSession session, String docSel, int duration, Serializable info) throws ProfileException
ProfileService
subscribe
in interface ProfileService
session
- The session interested in this subscriptiondocSel
- The document Selectorduration
- The length of the subscription in secondsinfo
- Extra information to be passed in the callbackProfileException
public ProfileSubscription subscribe(javax.servlet.sip.Address subscriber, javax.servlet.sip.SipApplicationSession session, String docSel, int duration, Serializable info) throws ProfileException
ProfileService
subscribe
in interface ProfileService
subscriber
- 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