com.ibm.commerce.fulfillment.commands
Class ShippingJurisdictionGroupCache
java.lang.Object
com.ibm.commerce.order.calculation.Cache
com.ibm.commerce.fulfillment.commands.JurisdictionGroupCache
com.ibm.commerce.fulfillment.commands.ShippingJurisdictionGroupCache
- public class ShippingJurisdictionGroupCache
- extends JurisdictionGroupCache
This MRU cache caches ShippingJurisdictionIds by ShippingJurisdictionGroupId.
Field Summary |
static java.lang.String |
COPYRIGHT
The IBM copyright string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The IBM copyright string.
- See Also:
- Constant Field Values
ShippingJurisdictionGroupCache
public ShippingJurisdictionGroupCache()
- Constructor for ShippingJurisdictionGroupCache.
ShippingJurisdictionGroupCache
public ShippingJurisdictionGroupCache(int anCacheSize)
- Constructor for ShippingJurisdictionGroupCache.
- Parameters:
- anCacheSize -
getInstance
public static ShippingJurisdictionGroupCache getInstance(CommandContext aCommandContext)
- Returns the instance from the command context. Creates one in the command context if one is not there already.
-
- Parameters:
- aCommandContext - The command context as CommandContext object.
- Returns:
- the instance from the command context.
releaseInstance
public static void releaseInstance(CommandContext aCommandContext)
- Releases the instance from the command context, if there is one in the command context.
-
- Parameters:
- aCommandContext - The command context as CommandContext object.
getSubclass
protected java.lang.Integer getSubclass()
- Returns the JurisdictionGroupRelationship subclass.
-
- Specified by:
- getSubclass in class JurisdictionGroupCache
-
- Returns:
- the JurisdictionGroupRelationShip subclass.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.