Package org.openbravo.dal.security
Class OrganizationNodeCache
- java.lang.Object
-
- org.openbravo.dal.security.OrganizationNodeCache
-
- All Implemented Interfaces:
OBProvidable
,OBSingleton
public class OrganizationNodeCache extends Object implements OBSingleton
Cache that stores the hierarchical information of Openbravo organizations. It uses a TimeInvalidatedCache to avoid initializing this information too often. If this information changes (i.e. a new organization is added to Openbravo or an existing organization is moved in the hierarchy, some time will passed until the update is reflected on the cache (see expireAfterDuration in cache builder)
-
-
Constructor Summary
Constructors Constructor Description OrganizationNodeCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrganizationNodeCache
getInstance()
-
-
-
Method Detail
-
getInstance
public static OrganizationNodeCache getInstance()
- Returns:
- the singleton instance of OrganizationNodeCache
-
-