FileDocCategorySizeDatePackage
ModulesManager.javaAPI DocGlassfish v2 API3579Fri May 04 22:35:00 BST 2007com.sun.enterprise.instance

ModulesManager

public abstract class ModulesManager extends BaseManager
Base-class for all the different types of ModulesManager's. Put common code that applies to all types of modules in here...

Fields Summary
private static Map
modules
Constructors Summary
protected ModulesManager(InstanceEnvironment env, boolean useBackupServerXml)

        super(env, useBackupServerXml);
    
Methods Summary
public java.util.MapgetRegisteredDescriptors()

return
the registered descriptors map

                
        if (modules==null) {
            synchronized (ModulesManager.class) {
                if (modules==null) {
                    modules = new HashMap();
                }
            }
        } 
        return modules;
    
protected java.lang.StringresolvePath(java.lang.String path)

        String resolved = path;
        try {
            resolved =  new PropertyResolver(configContext, 
                getInstanceEnvironment().getName()).resolve(path);
        } catch (ConfigException ce) {
            //log this.
        }
        return resolved;