private void initDefaultInstanceMgr() { if (defaultInstanceManager == null) { // lazy cause can not be needed synchronized (this) { if (defaultInstanceManager == null) { defaultInstanceManager = new DefaultInstanceManager( webapp.getNamingContextListener().getEnvContext(), TomcatInjections.buildInjectionMap(webapp.getNamingResources()), webapp, ParentClassLoaderFinder.Helper.get()); } } } }
protected void loadSipJNDIContext() { if(getAnnotationProcessor() instanceof SipAnnotationProcessor) { if(getNamingContextListener() != null) { ((SipAnnotationProcessor)getAnnotationProcessor()).setContext(getNamingContextListener().getEnvContext()); } else { try {
protected void loadSipJNDIContext() { if(getInstanceManager() instanceof SipInstanceManager) { if(getNamingContextListener() != null) { getSipInstanceManager().setContext(getNamingContextListener().getEnvContext()); } else { try {
getNamingContextListener().getEnvContext(), this)); } else { getNamingContextListener().getEnvContext(), this)); } else {
this.setInstanceManager( new DefaultSipInstanceManager( getNamingContextListener().getEnvContext(), injectionMap, this, this.getClass().getClassLoader())); } else { this.setInstanceManager( new DefaultSipInstanceManager( getNamingContextListener().getEnvContext(), injectionMap, this, this.getClass().getClassLoader())); } else {
javax.naming.Context context = null; if (isUseNaming() && getNamingContextListener() != null) { context = getNamingContextListener().getEnvContext();
javax.naming.Context context = null; if (isUseNaming() && getNamingContextListener() != null) { context = getNamingContextListener().getEnvContext();
javax.naming.Context context = null; if (isUseNaming() && getNamingContextListener() != null) { context = getNamingContextListener().getEnvContext();
javax.naming.Context context = null; if (isUseNaming() && getNamingContextListener() != null) { context = getNamingContextListener().getEnvContext();
javax.naming.Context context = null; if (isUseNaming() && getNamingContextListener() != null) { context = getNamingContextListener().getEnvContext();
javax.naming.Context context = null; if (isUseNaming() && getNamingContextListener() != null) { context = getNamingContextListener().getEnvContext();
javax.naming.Context context = null; if (isUseNaming() && getNamingContextListener() != null) { context = getNamingContextListener().getEnvContext();
javax.naming.Context context = null; if (isUseNaming() && getNamingContextListener() != null) { context = getNamingContextListener().getEnvContext();