Package com.bea.wcp.sip.engine
Class WlssProfileService
java.lang.Object
com.bea.wcp.sip.engine.WlssProfileService
- All Implemented Interfaces:
ProfileService,SipServerExtension,EventListener,javax.servlet.ServletContextListener
- Author:
- Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
-
Field Summary
FieldsFields inherited from interface com.bea.wcp.profile.ProfileService
PROFILE_SERVICE -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProvider(ProviderBean bean) voidvoidcontextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) voidcontextInitialized(javax.servlet.ServletContextEvent servletContextEvent) voiddeleteDocument(String docSel) Deletes a document.voiddeleteDocument(javax.servlet.sip.Address requestor, String docSel) Deletes a document.voiddeleteProvider(String name) voiddump()getDocument(String docSel) Gets a document.getDocument(javax.servlet.sip.Address requestor, String docSel) Gets a document.getName()voidputDocument(String docSel, Document doc) Updates a document.voidputDocument(javax.servlet.sip.Address requestor, String docSel, Document doc) Updates a document.voidresetMappingInfo(MappingBean mapping) 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.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.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.subscribe(javax.servlet.sip.SipApplicationSession session, String docSel, Serializable info) Subscribes to change notifications for a document described by the docSel document selector.
-
Field Details
-
THE_ONE
-
-
Method Details
-
dump
public void dump() -
configureProfileService
- Throws:
ProfileException
-
resetMappingInfo
- Throws:
ProfileException
-
addProvider
- Throws:
ProfileException
-
deleteProvider
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-
getName
- Specified by:
getNamein interfaceSipServerExtension- Returns:
- name of this extension
-
getDocument
Description copied from interface:ProfileServiceGets a document.- Specified by:
getDocumentin interfaceProfileService- Parameters:
docSel- the document selector to use- Returns:
- the Document
- Throws:
ProfileException
-
getDocument
public Document getDocument(javax.servlet.sip.Address requestor, String docSel) throws ProfileException Description copied from interface:ProfileServiceGets a document.- Specified by:
getDocumentin interfaceProfileService- Parameters:
requestor- the party making the requestdocSel- the Document- Returns:
- the Document retrieved
- Throws:
ProfileException
-
putDocument
Description copied from interface:ProfileServiceUpdates a document.- Specified by:
putDocumentin interfaceProfileService- Parameters:
docSel- the document selector to usedoc- the Document to update- Throws:
ProfileException
-
putDocument
public void putDocument(javax.servlet.sip.Address requestor, String docSel, Document doc) throws ProfileException Description copied from interface:ProfileServiceUpdates a document.- Specified by:
putDocumentin interfaceProfileService- Parameters:
requestor- the party making the requestdocSel- the document selector to usedoc- the Document to update- Throws:
ProfileException
-
deleteDocument
Description copied from interface:ProfileServiceDeletes a document.- Specified by:
deleteDocumentin interfaceProfileService- Parameters:
docSel- the document selector to use- Throws:
ProfileException
-
deleteDocument
public void deleteDocument(javax.servlet.sip.Address requestor, String docSel) throws ProfileException Description copied from interface:ProfileServiceDeletes a document.- Specified by:
deleteDocumentin interfaceProfileService- Parameters:
requestor- the party ordering the deletedocSel- the document selector to use- Throws:
ProfileException
-
subscribe
public ProfileSubscription subscribe(javax.servlet.sip.SipApplicationSession session, String docSel, Serializable info) throws ProfileException Description copied from interface:ProfileServiceSubscribes to change notifications for a document described by the docSel document selector. The subscription is assumed to run forever. This is delegated to thesubscribemethod.- Specified by:
subscribein interfaceProfileService- Parameters:
session- The session interested in this subscriptiondocSel- The document Selectorinfo- Extra information to be passed in the callback- Throws:
ProfileException
-
subscribe
public ProfileSubscription subscribe(javax.servlet.sip.Address subscriber, javax.servlet.sip.SipApplicationSession session, String docSel, Serializable info) throws ProfileException Description copied from interface:ProfileServiceSubscribes to change notifications for a document described by the docSel document selector. The subscription is assumed to run forever. This is delegated to thesubscribemethod.- Specified by:
subscribein interfaceProfileService- Parameters:
subscriber- the party making the subscriptionsession- The session interested in this subscriptiondocSel- The document Selectorinfo- Extra information to be passed in the callback- Throws:
ProfileException
-
subscribe
public ProfileSubscription subscribe(javax.servlet.sip.SipApplicationSession session, String docSel, int duration, Serializable info) throws ProfileException Description copied from interface:ProfileServiceSubscribes to change notifications for a document described by the docSel document selector. The subscription lasts for duration seconds.- Specified by:
subscribein interfaceProfileService- Parameters:
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- Returns:
- the new ProfileSubscription
- Throws:
ProfileException
-
subscribe
public ProfileSubscription subscribe(javax.servlet.sip.Address subscriber, javax.servlet.sip.SipApplicationSession session, String docSel, int duration, Serializable info) throws ProfileException Description copied from interface:ProfileServiceSubscribes to change notifications for a document described by the docSel document selector. The subscription lasts for duration seconds.- Specified by:
subscribein interfaceProfileService- Parameters:
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.- Returns:
- the new ProfileSubscription
- Throws:
ProfileException
-