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  Map<String,com.opensymphony.module.propertyset.PropertySet> psCache
           
 
Constructor Summary
DefaultUserPropertyManager(com.atlassian.event.api.EventPublisher eventPublisher, 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 Map<String,com.opensymphony.module.propertyset.PropertySet> psCache
Constructor Detail

DefaultUserPropertyManager

public DefaultUserPropertyManager(com.atlassian.event.api.EventPublisher eventPublisher,
                                  ExternalEntityStore externalEntityStore)
Method Detail

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.

onClearCache

@EventListener
public void onClearCache(ClearCacheEvent event)

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.