org.broadleafcommerce.cms.url.service
Class URLHandlerServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.cms.url.service.URLHandlerServiceImpl
All Implemented Interfaces:
URLHandlerService

@Service(value="blURLHandlerService")
public class URLHandlerServiceImpl
extends Object
implements URLHandlerService

Created by bpolster.


Field Summary
protected  net.sf.ehcache.Cache urlHandlerCache
           
protected  URLHandlerDao urlHandlerDao
           
 
Constructor Summary
URLHandlerServiceImpl()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urlHandlerDao

protected URLHandlerDao urlHandlerDao

urlHandlerCache

protected net.sf.ehcache.Cache urlHandlerCache
Constructor Detail

URLHandlerServiceImpl

public URLHandlerServiceImpl()
Method Detail

findURLHandlerByURI

public URLHandler findURLHandlerByURI(String uri)
Checks the passed in URL to determine if there is a matching URLHandler. Returns null if no handler was found.

Specified by:
findURLHandlerByURI in interface URLHandlerService
Parameters:
uri -
Returns:

removeURLHandlerFromCache

public void removeURLHandlerFromCache(URLHandler urlhandler)
Call to evict an item from the cache.

Parameters:
p -

findURLHandlerByURIInternal

protected URLHandler findURLHandlerByURIInternal(String uri)


Copyright © 2013. All Rights Reserved.