FileDocCategorySizeDatePackage
ConfigEnvironmentImpl.javaAPI DocGlassfish v2 API4543Fri May 04 22:31:18 BST 2007com.sun.enterprise.config.impl

ConfigEnvironmentImpl

public class ConfigEnvironmentImpl extends Object implements com.sun.enterprise.config.pluggable.ConfigEnvironment
This class creates a default implementation of ConfigEnvironment but this class has to be extended for setting 2 attributes. url and rootClass return empty.
author
sridatta

Fields Summary
private boolean
_autoCommitFlag
private boolean
_readOnlyFlag
private boolean
_cachingEnabledFlag
private boolean
_assertNotInCache
private com.sun.enterprise.config.pluggable.ConfigBeanInterceptor
_cbInterceptor
private String
_url
private String
_handler
private String
_rootClass
Constructors Summary
public ConfigEnvironmentImpl()
Creates a new instance


    
         
      
    
Methods Summary
public com.sun.enterprise.config.pluggable.ConfigBeanInterceptorgetConfigBeanInterceptor()

        return _cbInterceptor;
    
public com.sun.enterprise.config.pluggable.ConfigBeansSettingsgetConfigBeansSettings()

        return new ConfigBeansSettingsImpl();
    
public java.lang.StringgetHandler()

        return _handler;
    
public java.lang.StringgetRootClass()
returns null by default. Needs to be overridden

        return _rootClass;
    
public java.lang.StringgetUrl()
returns null Needs to be overridden

        return _url;
    
public booleanisAutoCommitOn()

        return _autoCommitFlag;
    
public booleanisCachingEnabled()

        return _cachingEnabledFlag;
    
public booleanisReadOnly()

        return _readOnlyFlag;
    
public voidsetAutoCommitOn(boolean value)

        _autoCommitFlag = value;
    
public voidsetCachingEnabled(boolean value)

        _cachingEnabledFlag = value;
    
public voidsetConfigBeanInterceptor(com.sun.enterprise.config.pluggable.ConfigBeanInterceptor cbInterceptor)

        _cbInterceptor = cbInterceptor;
    
public voidsetHandler(java.lang.String handler)

        _handler = handler;
    
public voidsetReadOnly(boolean value)

        _readOnlyFlag = value;
    
public voidsetRootClass(java.lang.String rootClass)

        _rootClass = rootClass;
    
public voidsetUrl(java.lang.String url)

        _url = url;