com.atlassian.jira.user.osuser
Class JiraOFBizProfileProvider

java.lang.Object
  extended by com.atlassian.jira.user.osuser.JiraOFBizAbstractProvider
      extended by com.atlassian.jira.user.osuser.JiraOFBizProfileProvider
All Implemented Interfaces:
com.opensymphony.user.provider.ProfileProvider, com.opensymphony.user.provider.UserProvider, java.io.Serializable

public class JiraOFBizProfileProvider
extends JiraOFBizAbstractProvider
implements com.opensymphony.user.provider.ProfileProvider

ProfileProvider that delegates to Ofbiz to get use name and property set information. When in exclusive mode (the JIRA default), it caches a known propertySet for a handled entity.

Since:
v4.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.user.osuser.JiraOFBizAbstractProvider
delegator, exclusiveAccess, nameCache, userEntity
 
Constructor Summary
JiraOFBizProfileProvider()
           
 
Method Summary
 void flushCaches()
           
 com.opensymphony.module.propertyset.PropertySet getPropertySet(java.lang.String name)
           
 boolean handles(java.lang.String name)
           
 boolean init(java.util.Properties properties)
           
 
Methods inherited from class com.atlassian.jira.user.osuser.JiraOFBizAbstractProvider
clearAllCache, clearUserCache, create, findUser, getDelegator, list, load, remove, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.user.provider.UserProvider
create, list, load, remove, store
 

Constructor Detail

JiraOFBizProfileProvider

public JiraOFBizProfileProvider()
Method Detail

getPropertySet

public com.opensymphony.module.propertyset.PropertySet getPropertySet(java.lang.String name)
Specified by:
getPropertySet in interface com.opensymphony.user.provider.ProfileProvider

flushCaches

public void flushCaches()
Specified by:
flushCaches in interface com.opensymphony.user.provider.UserProvider
Overrides:
flushCaches in class JiraOFBizAbstractProvider

handles

public boolean handles(java.lang.String name)
Specified by:
handles in interface com.opensymphony.user.provider.UserProvider

init

public boolean init(java.util.Properties properties)
Specified by:
init in interface com.opensymphony.user.provider.UserProvider
Overrides:
init in class JiraOFBizAbstractProvider


Copyright © 2002-2011 Atlassian. All Rights Reserved.