edu.wisc.my.webproxy.beans.http
Class WebProxyStateJpaDaoImpl
java.lang.Object
edu.wisc.my.webproxy.beans.http.WebProxyStateJpaDaoImpl
- All Implemented Interfaces:
- IWebProxyStateDao
public class WebProxyStateJpaDaoImpl
- extends Object
- implements IWebProxyStateDao
WebProxyStateJpaDaoImpl represents the default JPA implementation of
IWebProxyStateDao.
- Author:
- Jen Bourey, jbourey@unicon.net
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
WebProxyStateJpaDaoImpl
public WebProxyStateJpaDaoImpl()
setEntityManager
public void setEntityManager(javax.persistence.EntityManager entityManager)
- Parameters:
entityManager - the entityManager to set
getState
public IWebProxyState getState(String stateKey)
- Description copied from interface:
IWebProxyStateDao
- Retrieve an IWebProxyState from the store by its unique String key. If
no state currently exists for the given key, the method will return
null
- Specified by:
getState in interface IWebProxyStateDao
- Returns:
saveState
@Transactional
public IWebProxyState saveState(IWebProxyState state)
- Description copied from interface:
IWebProxyStateDao
- Save an IWebProxyState to the store.
- Specified by:
saveState in interface IWebProxyStateDao
- Returns:
purgeExpiredCookies
@Transactional
public void purgeExpiredCookies()
- Description copied from interface:
IWebProxyStateDao
- Purge expired cookies
- Specified by:
purgeExpiredCookies in interface IWebProxyStateDao
Copyright © 2010 Jasig. All Rights Reserved.