FileDocCategorySizeDatePackage
BaseConfigBean.javaAPI DocGlassfish v2 API4011Fri May 04 22:24:06 BST 2007com.sun.enterprise.admin.configbeans

BaseConfigBean

public class BaseConfigBean extends Object
author
kebbs

Fields Summary
public static final boolean
OVERWRITE
private com.sun.enterprise.config.ConfigContext
_configContext
Constructors Summary
public BaseConfigBean(com.sun.enterprise.config.ConfigContext configContext)

    
      
    
        _configContext = configContext;
    
Methods Summary
public static voidflushAll(com.sun.enterprise.config.ConfigContext ctx)
Persist config changes to disk. Clear all config changes (so that no notification will be fired) by the ConfigInterceptor. Overlay the runtime config context with the modified admin context.

       
        ctx.flush(OVERWRITE);
        ctx.resetConfigChangeList();
        //((ServerContextImpl)ApplicationServer.getServerContext()).setConfigContext(ctx);        
    
protected voidflushAll()

        flushAll(getConfigContext());
    
protected com.sun.enterprise.config.ConfigContextgetConfigContext()

        return _configContext;