|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.tools.util.ResourceDirectory
Maintains the set of all registered bean instantiators.
Method Summary | |
static void |
initializeInstDirectory()
Loads all resources defined by the resources.xml files. |
static void |
loadInstDirectory(java.util.Vector model_files)
Populates the instantiator directory from the given XML based configuration file. |
static java.lang.Object |
lookup(java.lang.String key)
Gets the resource from the cache. |
static java.lang.Object |
lookup(java.lang.String key,
java.util.Locale locale)
Gets the resource from the cache. |
static java.lang.Object |
lookup(java.lang.String name_space,
java.lang.String inst_name)
Gets the resource from the cache. |
static java.lang.Object |
lookup(java.lang.String name_space,
java.lang.String inst_name,
java.util.Locale locale)
Gets the resource from the cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final void initializeInstDirectory() throws ECSystemException
If
- an error occurs, an exception is thrown.public static final void loadInstDirectory(java.util.Vector model_files) throws ECSystemException
model_files
- The XML configuration file.If
- an error occurs, an exception is thrown.public static final java.lang.Object lookup(java.lang.String key) throws ECSystemException
key
- Name of resource in form If
- an error occurs, an exception is thrown.public static final java.lang.Object lookup(java.lang.String key, java.util.Locale locale) throws ECSystemException
key
- Name of resource in form locale
- Version of resource to retrieveIf
- an error occurs, an exception is thrown.public static final java.lang.Object lookup(java.lang.String name_space, java.lang.String inst_name) throws ECSystemException
name_space
- Locale of resourceinst_name
- Name of resourceIf
- an error occurs, an exception is thrown.public static final java.lang.Object lookup(java.lang.String name_space, java.lang.String inst_name, java.util.Locale locale) throws ECSystemException
name_space
- Locale of resourceinst_name
- Name of resourcelocale
- Version of resource to retrieveIf
- an error occurs, an exception is thrown.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |