/** {@inheritDoc} */ public void init(String name, JBossWebMetaData webMetaData) throws ClusteringNotSupportedException { if (webMetaData.getMaxActiveSessions() != null) { maxActiveAllowed_ = webMetaData.getMaxActiveSessions().intValue(); } PassivationConfig pConfig = webMetaData.getPassivationConfig(); if (pConfig != null) { if (pConfig.getUseSessionPassivation() != null) { setUseSessionPassivation(pConfig.getUseSessionPassivation().booleanValue()); if (getUseSessionPassivation()) { Integer min = pConfig.getPassivationMinIdleTime(); if (min != null) setPassivationMinIdleTime(min.intValue()); Integer max = pConfig.getPassivationMaxIdleTime(); if (max != null) setPassivationMaxIdleTime(max.intValue()); } } } log_.debug( "init(): maxActiveSessions allowed is " + maxActiveAllowed_ + " and passivationMode is " + passivationMode_); }