org.jmonks.batch.framework.config
Class FrameworkConfig.RepositoryConfig

java.lang.Object
  extended byorg.jmonks.batch.framework.config.FrameworkConfig.RepositoryConfig
Enclosing class:
FrameworkConfig

public class FrameworkConfig.RepositoryConfig
extends java.lang.Object

RepositoryConfig class holds the configuration required to create the class provides the interface to the framework repository and properties needed to work with the repository.

This class represents the following configuration from framework configuration file.

      <repository-config repository-class-name="org.jmonks.batch.framework.repository.db4o.Db4oRepository">
          <property key="db4o-filename">/batchserver/repository/batchserver_repository.db</property>
      </repository-config>
  


Method Summary
 java.lang.String getRepositoryClassName()
          Returns the repository class name responsible to work with the repository.
 java.util.Map getRepositoryConfigProperties()
          Returns all the properties required by the repository class to interact with the repsoitory in a unmodifiable map.
 java.lang.String toString()
           Returns the string representation of RepositoryConfig class in the format
{RepositoryConfig [repositoryClassName = value] [properties = value]}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getRepositoryClassName

public java.lang.String getRepositoryClassName()
Returns the repository class name responsible to work with the repository.

Returns:
Returns the repository class name.

getRepositoryConfigProperties

public java.util.Map getRepositoryConfigProperties()
Returns all the properties required by the repository class to interact with the repsoitory in a unmodifiable map.

Returns:
Returns the properties required by repository class in a map.

toString

public java.lang.String toString()

Returns the string representation of RepositoryConfig class in the format
{RepositoryConfig [repositoryClassName = value] [properties = value]}

Returns:
Returns the string representation of RepositoryConfig.