com.ptc.windchill.esi.map
Class ESIMapManager

java.lang.Object
  extended by com.ptc.windchill.esi.map.ESIMapManager

public final class ESIMapManager
extends Object

Finds the instance of ESIMap associated with a file name. Implements the Singleton pattern to insure that only one instance is created in a java virtual machine.

Supported API: true

Extendable: false


Method Summary
 ESIMap getMap(String name)
          Returns the ESIMap identified by the name argument.
static ESIMapManager instance()
          Get the value of the _instance attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static final ESIMapManager instance()
Get the value of the _instance attribute. If it's null, create an instance and store it in the attribute before returning the result.

Supported API: true

Returns:
ESIMapManager

getMap

public final ESIMap getMap(String name)
                    throws ESIMapException
Returns the ESIMap identified by the name argument. If there's an entry in the maps Hashtable, return it. Othewise, create a new ESIMap, store it in the table, and return the result.

Supported API: true

Parameters:
name - The file name of the map source file.
Returns:
ESIMap
Throws:
ESIMapException