@Service(value="blURLHandlerService") public class URLHandlerServiceImpl extends Object implements URLHandlerService
Modifier and Type | Field and Description |
---|---|
protected net.sf.ehcache.Cache |
urlHandlerCache |
protected URLHandlerDao |
urlHandlerDao |
Constructor and Description |
---|
URLHandlerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<URLHandler> |
findAllURLHandlers() |
URLHandler |
findURLHandlerByURI(String uri)
Checks the passed in URL to determine if there is a matching URLHandler.
|
protected URLHandler |
findURLHandlerByURIInternal(String uri) |
void |
removeURLHandlerFromCache(URLHandler urlhandler)
Call to evict an item from the cache.
|
URLHandler |
saveURLHandler(URLHandler handler) |
protected URLHandlerDao urlHandlerDao
protected net.sf.ehcache.Cache urlHandlerCache
public URLHandler findURLHandlerByURI(String uri)
findURLHandlerByURI
in interface URLHandlerService
uri
- public void removeURLHandlerFromCache(URLHandler urlhandler)
p
- protected URLHandler findURLHandlerByURIInternal(String uri)
public List<URLHandler> findAllURLHandlers()
findAllURLHandlers
in interface URLHandlerService
@Transactional(value="blTransactionManager") public URLHandler saveURLHandler(URLHandler handler)
saveURLHandler
in interface URLHandlerService
Copyright © 2014. All rights reserved.