com.dotmarketing.business
Class CacheLocator

java.lang.Object
  extended by com.dotmarketing.business.Locator<com.dotmarketing.business.CacheIndex>
      extended by com.dotmarketing.business.CacheLocator

public class CacheLocator
extends Locator<com.dotmarketing.business.CacheIndex>

FactoryLocator is a factory method to get single(ton) service objects. This is a kind of implementation, and there may be others.

Since:
1.6
Version:
1.6
Author:
Carlos Rivas (crivas), Jason Tesser

Field Summary
 
Fields inherited from class com.dotmarketing.business.Locator
cache
 
Method Summary
protected  java.lang.Object createService(com.dotmarketing.business.CacheIndex enumObj)
           
static BlockDirectiveCache getBlockDirectiveCache()
           
static Cachable getCache(java.lang.String value)
           
static DotCacheAdministrator getCacheAdministrator()
          The legacy cache administrator will invalidate cache entries within a cluster on a put where the non legacy one will not.
static com.dotmarketing.business.CacheIndex[] getCacheIndexes()
           
static CategoryCache getCategoryCache()
           
static ChainCache getChainCache()
           
static RoleCache getCmsRoleCache()
           
static ContainerCache getContainerCache()
           
static ContentletCache getContentletCache()
           
static FileCache getFileCache()
           
static FolderCache getFolderCache()
           
static HostCache getHostCache()
           
static HostVariablesCache getHostVariablesCache()
           
static HTMLPageCache getHTMLPageCache()
           
static IdentifierCache getIdentifierCache()
           
static IndiciesCache getIndiciesCache()
           
static LanguageCache getLanguageCache()
           
static LayoutCache getLayoutCache()
           
protected  Locator<com.dotmarketing.business.CacheIndex> getLocatorInstance()
           
static LogMapperCache getLogMapperCache()
           
static MenuLinkCache getMenuLinkCache()
           
static NavToolCache getNavToolCache()
           
static PermissionCache getPermissionCache()
           
static PluginCache getPluginCache()
           
static PublishingEndPointCache getPublishingEndPointCache()
           
static RelationshipCache getRelationshipCache()
           
static RoleCache getRoleCache()
           
static TemplateCache getTemplateCache()
           
static UserCache getUserCache()
           
static UserProxyCache getUserProxyCache()
           
static DotResourceCache getVeloctyResourceCache()
           
static VersionableCache getVersionableCache()
           
static VirtualLinkCache getVirtualLinkCache()
           
static WorkflowCache getWorkFlowCache()
           
static void init()
           
 
Methods inherited from class com.dotmarketing.business.Locator
audit, getServiceInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init()

getPermissionCache

public static PermissionCache getPermissionCache()

getRoleCache

public static RoleCache getRoleCache()

getCmsRoleCache

public static RoleCache getCmsRoleCache()

getCategoryCache

public static CategoryCache getCategoryCache()

getContentletCache

public static ContentletCache getContentletCache()

getVeloctyResourceCache

public static DotResourceCache getVeloctyResourceCache()

getChainCache

public static ChainCache getChainCache()

getLogMapperCache

public static LogMapperCache getLogMapperCache()

getRelationshipCache

public static RelationshipCache getRelationshipCache()

getPluginCache

public static PluginCache getPluginCache()

getLanguageCache

public static LanguageCache getLanguageCache()

getUserCache

public static UserCache getUserCache()

getUserProxyCache

public static UserProxyCache getUserProxyCache()

getLayoutCache

public static LayoutCache getLayoutCache()

getFileCache

public static FileCache getFileCache()

getIdentifierCache

public static IdentifierCache getIdentifierCache()

getHTMLPageCache

public static HTMLPageCache getHTMLPageCache()

getMenuLinkCache

public static MenuLinkCache getMenuLinkCache()

getContainerCache

public static ContainerCache getContainerCache()

getTemplateCache

public static TemplateCache getTemplateCache()

getHostCache

public static HostCache getHostCache()

getBlockDirectiveCache

public static BlockDirectiveCache getBlockDirectiveCache()

getVersionableCache

public static VersionableCache getVersionableCache()

getFolderCache

public static FolderCache getFolderCache()

getWorkFlowCache

public static WorkflowCache getWorkFlowCache()

getVirtualLinkCache

public static VirtualLinkCache getVirtualLinkCache()

getHostVariablesCache

public static HostVariablesCache getHostVariablesCache()

getIndiciesCache

public static IndiciesCache getIndiciesCache()

getNavToolCache

public static NavToolCache getNavToolCache()

getPublishingEndPointCache

public static PublishingEndPointCache getPublishingEndPointCache()

getCacheAdministrator

public static DotCacheAdministrator getCacheAdministrator()
The legacy cache administrator will invalidate cache entries within a cluster on a put where the non legacy one will not.

Returns:

createService

protected java.lang.Object createService(com.dotmarketing.business.CacheIndex enumObj)
Specified by:
createService in class Locator<com.dotmarketing.business.CacheIndex>

getLocatorInstance

protected Locator<com.dotmarketing.business.CacheIndex> getLocatorInstance()
Specified by:
getLocatorInstance in class Locator<com.dotmarketing.business.CacheIndex>

getCacheIndexes

public static com.dotmarketing.business.CacheIndex[] getCacheIndexes()

getCache

public static Cachable getCache(java.lang.String value)


Copyright © 2013 dotCMS Inc. All Rights Reserved.