com.ibm.ecm.configuration

Class ServerConfig

  1. java.lang.Object
  2. extended bycom.ibm.ecm.configuration.ConfigurationObject
  3. extended bycom.ibm.ecm.configuration.ServerConfig

  1. public class ServerConfig
  2. extends ConfigurationObject

Field Summary

Fields inherited from class com.ibm.ecm.configuration.ConfigurationObject
ARRAY_DELIMITER, cloned, KEY_DELIMITER, LIST_ESC_CHAR, LIST_ESCAPE, LIST_SEPARATOR, MODIFIER, properties

Constructor Summary

Constructor and Description
ServerConfig(org.apache.commons.configuration.Configuration configuration,java.lang.String idPrefix,java.lang.String id)

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getConfigInfo()
  1. protected
  2. java.lang.Class
getDataType(java.lang.String key)
  1. java.lang.String
getLabelKey()
  1. java.lang.String
getObjectType()
  1. java.lang.String[]
getRepositoriesId()
  1. RepositoryConfig
getRepository(java.lang.String repositoryId)
  1. java.util.Collection<RepositoryConfig>
getRepositoryList()
  1. java.util.Map<java.lang.String,RepositoryConfig>
getRepositoryMap()
  1. java.lang.String
getServiceURL()
  1. java.lang.String
getType()
  1. void
setConfigInfo(java.lang.String configInfo)
  1. void
setLabelKey(java.lang.String labelKey)
  1. void
setRepositoriesId(java.lang.String[] servers)
  1. void
setServiceURL(java.lang.String serviceURL)
  1. void
setType(java.lang.String type)
  1. void
setUseAnnotationClassSecurity(boolean useAnnotationClassSecurity)
  1. boolean
useAnnotationClassSecurity()
Methods inherited from class com.ibm.ecm.configuration.ConfigurationObject
addValueToList, arrayToString, covertEmptyStringtoNull, delete, dump, getConfigurationObject, getDataTypeValue, getIdPrefix, getKey, getList, getMap, getName, getObjectId, getPropertyNames, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, isEmpty, load, propertiesToString, removeValuesFromList, removeValuesFromList, save, setDefaultValue, setProperty, setValues, setValues, setValues, skipThisPropertyWhenSaving, stringToArray, stringToList, toJSON, toString, writeConfigurationToFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

ServerConfig

  1. public ServerConfig(org.apache.commons.configuration.Configuration configuration,
  2. java.lang.String idPrefix,
  3. java.lang.String id)

Method Detail

getObjectType

  1. public java.lang.String getObjectType( )
Description copied from class: ConfigurationObject
Abstract method to return object type.
Specified by:
Returns:
a string object type back, for example "desktop", "repository"...

getDataType

  1. protected java.lang.Class getDataType( java.lang.String key)
Description copied from class: ConfigurationObject
Returns the datatype of a configuration property. This is implemented in subclasses and is used to properly serialize the properties. The default implementation returns null which indicates that compatible behavior should be used, which inspects the property value itself and guesses at the type of the property.
Overrides:
Returns:
a Class instance describing the datatype of the property.

getType

  1. public java.lang.String getType( )

setType

  1. public void setType(java.lang.String type)

getServiceURL

  1. public java.lang.String getServiceURL( )

setServiceURL

  1. public void setServiceURL(java.lang.String serviceURL)

getLabelKey

  1. public java.lang.String getLabelKey( )

setLabelKey

  1. public void setLabelKey(java.lang.String labelKey)

useAnnotationClassSecurity

  1. public boolean useAnnotationClassSecurity( )

setUseAnnotationClassSecurity

  1. public void setUseAnnotationClassSecurity( boolean useAnnotationClassSecurity)

getConfigInfo

  1. public java.lang.String getConfigInfo( )

setConfigInfo

  1. public void setConfigInfo(java.lang.String configInfo)

getRepositoriesId

  1. public java.lang.String[] getRepositoriesId( )

setRepositoriesId

  1. public void setRepositoriesId(java.lang.String[] servers)

getRepositoryList

  1. public java.util.Collection<RepositoryConfig> getRepositoryList( )

getRepositoryMap

  1. public java.util.Map<java.lang.String,RepositoryConfig> getRepositoryMap( )

getRepository

  1. public RepositoryConfig getRepository( java.lang.String repositoryId)