Package com.sun.enterprise.web

Examples of com.sun.enterprise.web.ServerConfigLookup


        }
        return result;
    }
   
     public static boolean isRollingUpgradeEnabled() {
         ServerConfigLookup lookup = new ServerConfigLookup();
         return lookup.isRollingUpgradeEnabled();
     }   
View Full Code Here


            return maxSessionUnloadTimeSeconds * 1000L;
        }
    }
   
    private static int getMaxSessionUnloadTimeInSeconds() {
        ServerConfigLookup lookup = new ServerConfigLookup();
        return lookup.getMaxSessionUnloadTimeInSecondsPropertyFromConfig();
    }   
View Full Code Here

        //initialize locally passivated sessions cache
        locallyPassivatedSessions = new BaseCache();
        locallyPassivatedSessions.init(_maxBaseCacheSize, _loadFactor, null);
        replicatedSessionMonitors = new ReplicationSessionMonitors(_logger, _maxBaseCacheSize, _loadFactor);
        ServerConfigLookup lookup = new ServerConfigLookup();
        replicationCompressionEnabled = lookup.isReplicationCompression();
        cleanupThread = new CleanupThread();
   
View Full Code Here

            }
        }
    }   
   
    int getNumberOfPipes() {
        ServerConfigLookup lookup = new ServerConfigLookup();
        int result = lookup.getNumberOfReplicationPipesFromConfig();
        /*
        if(result < 2) {
            result = 2;
        }
         */
 
View Full Code Here

    public boolean isSkipRollingUpgradeBackupRestore() {
        return skipRollingUpgradeBackupRestore;
    }

    public void readInstanceLevelParams() {
        ServerConfigLookup lookup = new ServerConfigLookup();
        rollingUpgradeBackupDirectory = lookup.getRollingUpgradeBackupDirectory();
    }
View Full Code Here

        if(useReplicationUnicastLoadResponseBatching != null) {
            return useReplicationUnicastLoadResponseBatching.get();
        }
        synchronized(_monitor) {
            if(useReplicationUnicastLoadResponseBatching == null) {
                ServerConfigLookup lookup = new ServerConfigLookup();
                boolean useBatching
                    = lookup.isReplicationUnicastLoadResponseBatchingEnabled();
                useReplicationUnicastLoadResponseBatching
                    = new AtomicBoolean(useBatching);                
            }
        }
        return useReplicationUnicastLoadResponseBatching.get();
View Full Code Here

     * @see com.ericsson.ssa.sip.DialogFragmentManager#getInstance()
     */
    public ReplicationDialogFragmentManager() {
        super();
        instanceName = ReplicationUtil.getInstanceName();
        ServerConfigLookup lookup = new ServerConfigLookup();
        replicationCompressionEnabled = lookup.isReplicationCompression();
        replicationUtil = ReplicationUtil.createReplicationUtil();
        replicatedSessionMonitors = new ReplicationSessionMonitors(_logger, _maxBaseCacheSize, _loadFactor);
    }
View Full Code Here

                AccessController.doPrivileged(
                    new PrivilegedGetReplicationMessageRouter());
        } else {
            router = ReplicationMessageRouter.createInstance();
        }
        ServerConfigLookup lookup = new ServerConfigLookup();
        replicationCompressionEnabled = lookup.isReplicationCompression();
        replicationUtil = ReplicationUtil.createReplicationUtil();
   
View Full Code Here

    /**
    * Return the cluster id for this Store as defined in server.xml.
    */ 
    protected String getClusterIdFromConfig() {
        ServerConfigLookup lookup = new ServerConfigLookup();
        return lookup.getClusterIdFromConfig();
    }
View Full Code Here

     * the Session and remove it from the Store.
     * Note: this is an aggregate form of this method
     *
     */
    public void processStaleCachedSessions() {
        ServerConfigLookup lookup = new ServerConfigLookup();
        if(!lookup.getStaleSessionCheckingFromConfig()) {
            if(_logger.isLoggable(Level.FINEST)) {
                _logger.finest("stale session checking disabled");
            }
            return;
        }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.web.ServerConfigLookup

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.