Package com.sun.enterprise.web

Examples of com.sun.enterprise.web.ServerConfigLookup


        String persistenceTypeString = persistenceType.getType();
        return persistenceTypeString.equalsIgnoreCase("HA");
    }
   
    private boolean isPersistenceTypeReplicated() {   
        ServerConfigLookup lookup = new ServerConfigLookup();
        PersistenceType persistenceType =
                lookup.getPersistenceTypeFromConfig();
        String persistenceTypeString = persistenceType.getType();
        return persistenceTypeString.equalsIgnoreCase("REPLICATED");
    }
View Full Code Here


        String persistenceTypeString = persistenceType.getType();
        return persistenceTypeString.equalsIgnoreCase("REPLICATED");
    }
   
    private String getPassedInPersistenceType() {   
        ServerConfigLookup lookup = new ServerConfigLookup();
        PersistenceType persistenceType =
                lookup.getPersistenceTypeFromConfig();
        //return persistenceType.getType();
        String passedInPersistenceTypeString = persistenceType.getType();
        /*
        PersistenceTypeResolver persistenceTypeResolver
            = getPersistenceTypeResolver();
View Full Code Here

public class EEWebContainerFeatureFactoryImpl extends PEWebContainerFeatureFactoryImpl
        implements WebContainerFeatureFactory {
    private static final Logger _logger = LogDomains.getLogger(LogDomains.WEB_LOGGER);
   
    private boolean isHADBInstalled() {
        ServerConfigLookup lookup = new ServerConfigLookup();
        return lookup.isHADBInstalled();
    }
View Full Code Here

            //
        }
    }
   
     private boolean isNativeReplicationEnabled() {
         ServerConfigLookup lookup = new ServerConfigLookup();
         return lookup.isGMSEnabled() && lookup.isNativeReplicationEnabledFromConfig();
     }
View Full Code Here

         ServerConfigLookup lookup = new ServerConfigLookup();
         return lookup.isGMSEnabled() && lookup.isNativeReplicationEnabledFromConfig();
     }
    
     private int getMaxSessionUnloadTimeInSeconds() {
         ServerConfigLookup lookup = new ServerConfigLookup();
         return lookup.getMaxSessionUnloadTimeInSecondsPropertyFromConfig();
     }
View Full Code Here

         ServerConfigLookup lookup = new ServerConfigLookup();
         return lookup.getMaxSessionUnloadTimeInSecondsPropertyFromConfig();
     }

     private boolean isRepairDuringFailure() {
         ServerConfigLookup lookup = new ServerConfigLookup();
         return lookup.isRepairDuringFailure();
     }   
View Full Code Here

        mgr.setDuplicateIdsSemanticsAllowed(false);
       
        //in the future can set other implementations
        //of UuidGenerator in server.xml
        //even if not set it defaults to UuidGeneratorImpl
        ServerConfigLookup lookup = new ServerConfigLookup();
        UuidGenerator generator = lookup.getUuidGeneratorFromConfig();
        mgr.setUuidGenerator(generator);
       
        //for intra-vm session locking
        _logger.finest("sctx.restrictedSetPipeline(new SessionLockingStandardPipeline(sctx))");
        StandardContext sctx = (StandardContext) ctx;
View Full Code Here

   
    /** Creates a new instance of ReplicationManagerBase */
    public ReplicationManagerBase() {
        super();
        replicatedSessionMonitors = new ReplicationSessionMonitors(_salogger, _maxBaseCacheSize, _loadFactor);
        ServerConfigLookup lookup = new ServerConfigLookup();
        replicationCompressionEnabled = lookup.isReplicationCompression();
    }
View Full Code Here

       
    }
   
    public boolean isWaitForFastAckConfigured() {
        if(_waitForFastAckConfigured == null) {
            ServerConfigLookup lookup = new ServerConfigLookup();
            boolean waitForFastAckProp = lookup.getWaitForFastAckPropertyFromConfig();
            _waitForFastAckConfigured = new Boolean(waitForFastAckProp);
            //System.out.println("isWaitForFastAckConfigured = " + _waitForFastAckConfigured.booleanValue());
        }
        return _waitForFastAckConfigured.booleanValue();
    }   
View Full Code Here

    }   
   
    Boolean _replicationMeasurementEnabled = null;
    private boolean getReplicationMeasurementEnabled() {
        if(_replicationMeasurementEnabled == null) {
            ServerConfigLookup lookup = new ServerConfigLookup();
            _replicationMeasurementEnabled
                = new Boolean(lookup.getReplicationMeasurementEnabledFromConfig());                       
        }
        return _replicationMeasurementEnabled.booleanValue();
    }
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.