com.atlassian.crowd.service.cache
Class CachingManagerFactory

java.lang.Object
  extended by com.atlassian.crowd.service.cache.CachingManagerFactory

public class CachingManagerFactory
extends java.lang.Object


Constructor Summary
CachingManagerFactory()
           
 
Method Summary
static BasicCache getCache()
           
protected static CacheAwareAuthenticationManager getCacheAwareAuthenticationManager()
          Creates a new CacheAwareAuthenticationManager
static AuthenticationManager getCacheAwareAuthenticationManagerInstance()
          Retrieve a singleton instance of the Authentication Manager (cache aware) If the user successfully authenticates, they will exist in the cache.
static CacheExpiryManager getCacheExpiryManagerInstance()
           
protected static CachingGroupManager getGroupManager()
          Split out so implementations can be overriden by subclasses.
static GroupManager getGroupManagerInstance()
           
protected static CachingGroupMembershipManager getGroupMembershipManager()
          Split out so implementations can be overriden by subclasses.
static GroupMembershipManager getGroupMembershipManagerInstance()
           
protected static SimpleAuthenticationManager getSimpleAuthenticationManager()
          Creates a new SimpleAuthenticationManager (this authentication manager is not cache aware)
static AuthenticationManager getSimpleAuthenticationManagerInstance()
          Retrieve a singleton instance of the Authentication Manager (not cache aware)
protected static CachingUserManager getUserManager()
          Split out so implementations can be overriden by subclasses.
static UserManager getUserManagerInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingManagerFactory

public CachingManagerFactory()
Method Detail

getGroupMembershipManager

protected static CachingGroupMembershipManager getGroupMembershipManager()
Split out so implementations can be overriden by subclasses.

Returns:
a new instance of CachingGroupMembershipManager

getUserManager

protected static CachingUserManager getUserManager()
Split out so implementations can be overriden by subclasses.

Returns:
a new instance of CachingUserManager

getGroupManager

protected static CachingGroupManager getGroupManager()
Split out so implementations can be overriden by subclasses.

Returns:
a new instance of CachingGroupManager

getCacheAwareAuthenticationManager

protected static CacheAwareAuthenticationManager getCacheAwareAuthenticationManager()
Creates a new CacheAwareAuthenticationManager

Returns:
a new isntance of CacheAwareAuthenticationManager

getSimpleAuthenticationManager

protected static SimpleAuthenticationManager getSimpleAuthenticationManager()
Creates a new SimpleAuthenticationManager (this authentication manager is not cache aware)

Returns:
a new instance of SimpleAuthenticationManager

getCacheAwareAuthenticationManagerInstance

public static AuthenticationManager getCacheAwareAuthenticationManagerInstance()
Retrieve a singleton instance of the Authentication Manager (cache aware) If the user successfully authenticates, they will exist in the cache.

Returns:
the instance of a cache aware AuthenticationManager

getSimpleAuthenticationManagerInstance

public static AuthenticationManager getSimpleAuthenticationManagerInstance()
Retrieve a singleton instance of the Authentication Manager (not cache aware)

Returns:
the instance of a non cache aware AuthenticationManager

getUserManagerInstance

public static UserManager getUserManagerInstance()

getGroupManagerInstance

public static GroupManager getGroupManagerInstance()

getGroupMembershipManagerInstance

public static GroupMembershipManager getGroupMembershipManagerInstance()

getCacheExpiryManagerInstance

public static CacheExpiryManager getCacheExpiryManagerInstance()

getCache

public static BasicCache getCache()


Copyright © 2010 Atlassian. All Rights Reserved.