org.sonar.api.database.configuration
Class ResourceDatabaseConfiguration

java.lang.Object
  extended by org.apache.commons.configuration.event.EventSource
      extended by org.apache.commons.configuration.AbstractConfiguration
          extended by org.apache.commons.configuration.BaseConfiguration
              extended by org.sonar.api.database.configuration.ResourceDatabaseConfiguration
All Implemented Interfaces:
Cloneable, org.apache.commons.configuration.Configuration

public class ResourceDatabaseConfiguration
extends org.apache.commons.configuration.BaseConfiguration

IMPORTANT : This class can't be moved to org.sonar.jpa.dao for backward-compatibility reasons. This class is still used in some plugins.

Since:
1.10

Field Summary
 
Fields inherited from class org.apache.commons.configuration.AbstractConfiguration
END_TOKEN, EVENT_ADD_PROPERTY, EVENT_CLEAR, EVENT_CLEAR_PROPERTY, EVENT_READ_PROPERTY, EVENT_SET_PROPERTY, START_TOKEN
 
Constructor Summary
ResourceDatabaseConfiguration(DatabaseSessionFactory sessionFactory, Integer resourceId)
           
ResourceDatabaseConfiguration(DatabaseSessionFactory sessionFactory, ResourceModel resource)
           
ResourceDatabaseConfiguration(DatabaseSessionFactory sessionFactory, String resourceKey)
           
 
Method Summary
 void load()
           
 
Methods inherited from class org.apache.commons.configuration.BaseConfiguration
addPropertyDirect, clear, clearPropertyDirect, clone, containsKey, getKeys, getProperty, isEmpty
 
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration
addErrorLogListener, addProperty, append, clearProperty, copy, createInterpolator, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getKeys, getList, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, getSubstitutor, interpolate, interpolate, interpolatedConfiguration, interpolateHelper, isDelimiterParsingDisabled, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setProperty, setThrowExceptionOnMissing, subset
 
Methods inherited from class org.apache.commons.configuration.event.EventSource
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, createErrorEvent, createEvent, fireError, fireEvent, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceDatabaseConfiguration

public ResourceDatabaseConfiguration(DatabaseSessionFactory sessionFactory,
                                     ResourceModel resource)

ResourceDatabaseConfiguration

public ResourceDatabaseConfiguration(DatabaseSessionFactory sessionFactory,
                                     Integer resourceId)

ResourceDatabaseConfiguration

public ResourceDatabaseConfiguration(DatabaseSessionFactory sessionFactory,
                                     String resourceKey)
Method Detail

load

public void load()


Copyright © 2009-2010 SonarSource. All Rights Reserved.