com.atlassian.jira.user
Class DefaultUserPropertyManager

java.lang.Object
  extended by com.atlassian.jira.user.DefaultUserPropertyManager
All Implemented Interfaces:
Startable, UserPropertyManager

public class DefaultUserPropertyManager
extends Object
implements UserPropertyManager, Startable


Field Summary
protected  com.google.common.cache.Cache<String,com.opensymphony.module.propertyset.PropertySet> psCache
           
 
Constructor Summary
DefaultUserPropertyManager(ExternalEntityStore externalEntityStore)
           
 
Method Summary
 com.opensymphony.module.propertyset.PropertySet getPropertySet(com.atlassian.crowd.embedded.api.User user)
          Get the property set associated with a user.
 void onClearCache(ClearCacheEvent event)
           
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

psCache

protected final com.google.common.cache.Cache<String,com.opensymphony.module.propertyset.PropertySet> psCache
Constructor Detail

DefaultUserPropertyManager

public DefaultUserPropertyManager(ExternalEntityStore externalEntityStore)
Method Detail

onClearCache

@EventListener
public void onClearCache(ClearCacheEvent event)

start

public void start()
           throws Exception
Description copied from interface: Startable
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Specified by:
start in interface Startable
Throws:
Exception - Allows implementations to throw an Exception.

getPropertySet

public com.opensymphony.module.propertyset.PropertySet getPropertySet(com.atlassian.crowd.embedded.api.User user)
Description copied from interface: UserPropertyManager
Get the property set associated with a user.

Specified by:
getPropertySet in interface UserPropertyManager
Parameters:
user - the property set is associated with.
Returns:
Property set.


Copyright © 2002-2012 Atlassian. All Rights Reserved.