FileDocCategorySizeDatePackage
ConfigRegistry.javaAPI DocGlassfish v2 API2788Fri May 04 22:31:18 BST 2007com.sun.enterprise.config

ConfigRegistry

public class ConfigRegistry extends Object
author
sridatta

Fields Summary
private static ThreadLocal
_threadLocalConfigContext
Constructors Summary
public ConfigRegistry()
Creates a new instance of ConfigRegistry

    
Methods Summary
public static ConfigContextgetConfigContextFromThreadLocal()


        
        return (ConfigContext)_threadLocalConfigContext.get();
    
public static voidsetConfigContextInThreadLocal(ConfigContext ctx)


        try {
            ((ConfigContextImpl)ctx).setXPathInAllBeans();
        } catch (ConfigException ce) {
            // ignore
        }
        _threadLocalConfigContext.set(ctx);