httpSmBean, sipSmBean, wbd, wmInfo);
/*
* Configure HTTP session manager
*/
PersistenceType httpType = configHelper.getPersistenceType();
String httpFrequency = configHelper.getPersistenceFrequency();
String httpScope = configHelper.getPersistenceScope();
PersistenceStrategyBuilderFactory httpFactory =
new PersistenceStrategyBuilderFactory();
PersistenceStrategyBuilder httpBuilder =
httpFactory.createPersistenceStrategyBuilder(httpType.getType(),
httpFrequency, httpScope, this);
httpBuilder.setLogger(Logger.getLogger(LogUtil.SIP_LOG_DOMAIN));
httpBuilder.setIsConverged(true);
httpBuilder.initializePersistenceStrategy(this, httpSmBean);
/*
* Configure SIP session manager
*/
PersistenceType sipType = configHelper.getSipPersistenceType();
String sipFrequency = configHelper.getSipPersistenceFrequency();
String sipScope = configHelper.getSipPersistenceScope();
logger.log(Level.INFO, "Application " + getName() +
" configured with SIP persistence type: " + sipType.getType() +
", frequency: " + sipFrequency + ", and scope: " + sipScope);
SipPersistenceStrategyBuilderFactory sipFactory =
new SipPersistenceStrategyBuilderFactory();
SipPersistenceStrategyBuilder sipBuilder =
sipFactory.createPersistenceStrategyBuilder(sipType.getType(),
sipFrequency, sipScope, this);
sipBuilder.setLogger(Logger.getLogger(LogUtil.SIP_LOG_DOMAIN));
sipBuilder.initializePersistenceStrategy(this, sipSmBean,
configHelper.getSipContainerAvailability());
}