public class MongoSessionDataStoreFactory extends AbstractSessionDataStoreFactory
Constructor and Description |
---|
MongoSessionDataStoreFactory() |
Modifier and Type | Method and Description |
---|---|
String |
getCollectionName() |
String |
getDbName() |
SessionDataStore |
getSessionDataStore(SessionHandler handler) |
void |
setCollectionName(String collectionName) |
void |
setDbName(String dbName) |
getGracePeriodSec, setGracePeriodSec
public String getDbName()
public void setDbName(String dbName)
dbName
- the dbName to setpublic String getCollectionName()
public void setCollectionName(String collectionName)
collectionName
- the collectionName to setpublic SessionDataStore getSessionDataStore(SessionHandler handler) throws Exception
com.mongodb.MongoException
UnknownHostException
Exception
SessionDataStoreFactory.getSessionDataStore(org.eclipse.jetty.server.session.SessionHandler)
Copyright © 1995–2016 Mort Bay Consulting. All rights reserved.