Class WlssProfileService

java.lang.Object
com.bea.wcp.sip.engine.WlssProfileService
All Implemented Interfaces:
ProfileService, SipServerExtension, EventListener, javax.servlet.ServletContextListener

public class WlssProfileService extends Object implements ProfileService, SipServerExtension
Author:
Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
  • Field Details

  • Method Details

    • dump

      public void dump()
    • configureProfileService

      public void configureProfileService(ProfileServiceBean conf) throws ProfileException
      Throws:
      ProfileException
    • resetMappingInfo

      public void resetMappingInfo(MappingBean mapping) throws ProfileException
      Throws:
      ProfileException
    • addProvider

      public void addProvider(ProviderBean bean) throws ProfileException
      Throws:
      ProfileException
    • deleteProvider

      public void deleteProvider(String name)
    • contextInitialized

      public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
      Specified by:
      contextInitialized in interface javax.servlet.ServletContextListener
    • contextDestroyed

      public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
      Specified by:
      contextDestroyed in interface javax.servlet.ServletContextListener
    • getName

      public String getName()
      Specified by:
      getName in interface SipServerExtension
      Returns:
      name of this extension
    • getDocument

      public Document getDocument(String docSel) throws ProfileException
      Description copied from interface: ProfileService
      Gets a document.
      Specified by:
      getDocument in interface ProfileService
      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: ProfileService
      Gets a document.
      Specified by:
      getDocument in interface ProfileService
      Parameters:
      requestor - the party making the request
      docSel - the Document
      Returns:
      the Document retrieved
      Throws:
      ProfileException
    • putDocument

      public void putDocument(String docSel, Document doc) throws ProfileException
      Description copied from interface: ProfileService
      Updates a document.
      Specified by:
      putDocument in interface ProfileService
      Parameters:
      docSel - the document selector to use
      doc - 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: ProfileService
      Updates a document.
      Specified by:
      putDocument in interface ProfileService
      Parameters:
      requestor - the party making the request
      docSel - the document selector to use
      doc - the Document to update
      Throws:
      ProfileException
    • deleteDocument

      public void deleteDocument(String docSel) throws ProfileException
      Description copied from interface: ProfileService
      Deletes a document.
      Specified by:
      deleteDocument in interface ProfileService
      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: ProfileService
      Deletes a document.
      Specified by:
      deleteDocument in interface ProfileService
      Parameters:
      requestor - the party ordering the delete
      docSel - 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: ProfileService
      Subscribes to change notifications for a document described by the docSel document selector. The subscription is assumed to run forever. This is delegated to the subscribe method.
      Specified by:
      subscribe in interface ProfileService
      Parameters:
      session - The session interested in this subscription
      docSel - The document Selector
      info - 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: ProfileService
      Subscribes to change notifications for a document described by the docSel document selector. The subscription is assumed to run forever. This is delegated to the subscribe method.
      Specified by:
      subscribe in interface ProfileService
      Parameters:
      subscriber - the party making the subscription
      session - The session interested in this subscription
      docSel - The document Selector
      info - 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: ProfileService
      Subscribes to change notifications for a document described by the docSel document selector. The subscription lasts for duration seconds.
      Specified by:
      subscribe in interface ProfileService
      Parameters:
      session - The session interested in this subscription
      docSel - The document Selector
      duration - The length of the subscription in seconds
      info - 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: ProfileService
      Subscribes to change notifications for a document described by the docSel document selector. The subscription lasts for duration seconds.
      Specified by:
      subscribe in interface ProfileService
      Parameters:
      subscriber - The party making the subscription.
      session - The session interested in this subscription
      docSel - The document Selector
      duration - The length of the subscription in seconds
      info - Extra information to be passed in the callback.
      Returns:
      the new ProfileSubscription
      Throws:
      ProfileException