Package com.ericsson.ssa.config

Examples of com.ericsson.ssa.config.ConvergedContext


   
    private static String getPolicyFromApp(SipServletMessageImpl msg) {
        try {
            SipApplicationSessionImpl sas = msg.getApplicationSessionImpl();
            SipSessionManager ssm = sas.getSipSessionManager();
            ConvergedContext ctx = ssm.getContext();

            return ctx.getSipApplication().getRecordRoutePolicy();
        } catch (Throwable t) {
            return "";
        }
    }
View Full Code Here


    protected synchronized TimerListener getPFieldListener() {
        if (!listenerLookedUp.getAndSet(true)) {
            SipSessionManager sipSessionManager = getSipSessionManager();

            if (sipSessionManager != null) {
                ConvergedContext ctx = sipSessionManager.getContext();

                if (ctx != null) {
                    SipApplicationListeners appListeners = ctx.getSipApplicationListeners();

                    if (appListeners != null) {
                        listener = appListeners.getTimerListener();
                    }
                }
View Full Code Here

    }

    protected Manager getHttpSessionManager() {
       SipSessionManager manager = getSipSessionManager();
       if (manager != null) {
          ConvergedContext ctxt = manager.getContext();

          if (ctxt != null) {
              return ctxt.getManager();
          }
      }

      return null;
    }
View Full Code Here

   
    public SipApplicationListeners getSipApplicationListeners()
    {
       SipSessionManager manager = getSipSessionManager();
       if (manager != null) {
          ConvergedContext ctxt = manager.getContext();

          if (ctxt != null) {
              return ctxt.getSipApplicationListeners();
          }
      }

      return null;
    }
View Full Code Here

        if (hasCrossSarVisibility) {
            Set siblings = ctx.getSiblingContexts();
            if (siblings != null) {
                Iterator iter = siblings.iterator();
                while (sas == null && iter.hasNext()) {
                    ConvergedContext cc = (ConvergedContext) iter.next();
                    SipSessionManager manager = cc.getSipSessionManager();
                    if (manager != null) {
                        try {
                            sas = manager.findSipApplicationSession(sasId);
                        } catch (RemoteLockException e) {
                            throw new RemoteLockRuntimeException(e);
View Full Code Here

    }

    protected void initInvalidateWhenReady() {
        SipSessionManager manager = getSipSessionManager();
        if (manager != null) {
            ConvergedContext ctx = manager.getContext();
            if (ctx != null) {
                SipApplication descriptor = ctx.getSipApplication();
                if (descriptor != null &&
                        SipApplication.ApplicationVersion.VERSION_1_0.equals(
                                descriptor.getApplicationVersion())) {
                    invalidateWhenReady = false;
                    return;
View Full Code Here

    }

    protected void initInvalidateWhenReady() {
        SipSessionManager manager = getSipSessionManager();
        if (manager != null) {
            ConvergedContext ctx = manager.getContext();
            if (ctx != null) {
                SipApplication descriptor = ctx.getSipApplication();
                if (descriptor != null &&
                        SipApplication.ApplicationVersion.VERSION_1_0.equals(
                                descriptor.getApplicationVersion())) {
                    invalidateWhenReady = false;
                    return;
View Full Code Here

    }

    public ServletContext getServletContext() {
        SipSessionManager sessMgr = 
            getSipSessionManager();
        ConvergedContext ctxt = getSipSessionManager().getContext();
        return ctxt.getServletContext();
    }
View Full Code Here

TOP

Related Classes of com.ericsson.ssa.config.ConvergedContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.