|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.user.configuration.DefaultRepositoryConfiguration
Field Summary | |
protected org.apache.log4j.Logger |
logger
|
Constructor Summary | |
DefaultRepositoryConfiguration(RepositoryIdentifier identifier,
RepositoryProcessor processor,
java.util.Map components,
java.util.Map componentClassNames)
|
Method Summary | |
void |
addComponent(java.lang.String componentName,
java.lang.Object component)
|
RepositoryAccessor |
configure()
|
CacheConfiguration |
getCacheConfiguration()
Returns the cache configuration for this repository. |
java.lang.Object |
getComponent(java.lang.String componentName)
Returns the component specified by the name, or null if the component does not exist. |
java.lang.String |
getComponentClassName(java.lang.String componentName)
|
java.util.Set |
getComponentNames()
|
RepositoryIdentifier |
getIdentifier()
|
boolean |
hasClassForComponent(java.lang.String componentName)
|
boolean |
hasComponent(java.lang.String componentName)
Returns true if the component exists and is not null, otherwise false. |
boolean |
isCachingEnabled()
Returns true if caching is enabled for this repository, or false if caching is disabled. |
void |
setCacheConfiguration(CacheConfiguration cacheConfiguration)
Set the cache configuration to be used for this repository. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final org.apache.log4j.Logger logger
Constructor Detail |
public DefaultRepositoryConfiguration(RepositoryIdentifier identifier, RepositoryProcessor processor, java.util.Map components, java.util.Map componentClassNames)
Method Detail |
public void addComponent(java.lang.String componentName, java.lang.Object component)
addComponent
in interface RepositoryConfiguration
public java.lang.Object getComponent(java.lang.String componentName)
RepositoryConfiguration
getComponent
in interface RepositoryConfiguration
public boolean hasComponent(java.lang.String componentName)
RepositoryConfiguration
hasComponent
in interface RepositoryConfiguration
public java.lang.String getComponentClassName(java.lang.String componentName)
getComponentClassName
in interface RepositoryConfiguration
public RepositoryAccessor configure() throws ConfigurationException
configure
in interface RepositoryConfiguration
ConfigurationException
public RepositoryIdentifier getIdentifier()
getIdentifier
in interface RepositoryConfiguration
public boolean hasClassForComponent(java.lang.String componentName)
hasClassForComponent
in interface RepositoryConfiguration
public java.util.Set getComponentNames()
getComponentNames
in interface RepositoryConfiguration
public void setCacheConfiguration(CacheConfiguration cacheConfiguration)
RepositoryConfiguration
setCacheConfiguration
in interface RepositoryConfiguration
public boolean isCachingEnabled()
RepositoryConfiguration
isCachingEnabled
in interface RepositoryConfiguration
RepositoryConfiguration.getCacheConfiguration()
,
RepositoryConfiguration.setCacheConfiguration(CacheConfiguration)
public CacheConfiguration getCacheConfiguration()
RepositoryConfiguration
RepositoryConfiguration.isCachingEnabled()
rather than
checking explicitly for null.
getCacheConfiguration
in interface RepositoryConfiguration
RepositoryConfiguration.isCachingEnabled()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |