Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.data.repository.config
Class ManualRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>

    java.lang.Object
      org.springframework.data.repository.config.ParentDelegatingRepositoryConfigInformation<T>
          org.springframework.data.repository.config.ManualRepositoryConfigInformation<T>

All Implemented Interfaces:
  CommonRepositoryConfigInformation, SingleRepositoryConfigInformation<T>

    public class ManualRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>

extends ParentDelegatingRepositoryConfigInformation<T>

Configuration information for manual repository configuration.

Author:
  Oliver Gierke

Constructor Summary
`ManualRepositoryConfigInformation(Element element, T parent)`

Method Summary
`boolean` | `autodetectCustomImplementation()` Returns if a custom implementation shall be autodetected.
`protected String` | `getAttribute(String attribute)` Returns the attribute of the current context.
`String` | `getBeanId()` Returns the bean name to be used for the repository.
`String` | `getCustomImplementationRef()` Returns the bean reference to the custom repository implementation.
`String` | `getInterfaceName()` Returns the name of the repository interface.
`QueryLookupStrategy.Key` | `getQueryLookupStrategyKey()` Returns the strategy finder methods should be resolved.
`String` | `getRepositoryFactoryBeanClassName()` Returns the configured repository factory class.
`String` | `getRepositoryImplementationSuffix()` Returns the suffix to use for implementation bean lookup or class detection.
`Element` | `getSource()` Returns the element the repository information is derived from.
`String` | `getTransactionManagerRef()` Returns the bean name of the `PlatformTransactionManager` to be used.

Methods inherited from class org.springframework.data.repository.config.ParentDelegatingRepositoryConfigInformation
`getBasePackage, getImplementationBeanName, getImplementationClassName, getNamedQueriesLocation, getParent`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ManualRepositoryConfigInformation

    public ManualRepositoryConfigInformation(Element element,
                                             T parent)

Parameters:
  `parent` -

Method Detail

### getBeanId

    public String getBeanId()

  Description copied from interface: `SingleRepositoryConfigInformation`
  Returns the bean name to be used for the repository.

  Returns:

### getInterfaceName

    public String getInterfaceName()

  Description copied from interface: `SingleRepositoryConfigInformation`
  Returns the name of the repository interface.

  Returns:

### getCustomImplementationRef

    public String getCustomImplementationRef()

  Description copied from interface: `SingleRepositoryConfigInformation`
  Returns the bean reference to the custom repository implementation.

  Specified by:
    `getCustomImplementationRef` in interface `SingleRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>`
  Overrides:
    `getCustomImplementationRef` in class `ParentDelegatingRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>`
  Returns:

### autodetectCustomImplementation

    public boolean autodetectCustomImplementation()

  Returns if a custom implementation shall be autodetected.

  Specified by:
    `autodetectCustomImplementation` in interface `SingleRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>`
  Overrides:
    `autodetectCustomImplementation` in class `ParentDelegatingRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>`
  Returns:

### getRepositoryImplementationSuffix

    public String getRepositoryImplementationSuffix()

  Description copied from interface: `CommonRepositoryConfigInformation`
  Returns the suffix to use for implementation bean lookup or class detection.

  Specified by:
    `getRepositoryImplementationSuffix` in interface `CommonRepositoryConfigInformation`
  Overrides:
    `getRepositoryImplementationSuffix` in class `ParentDelegatingRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>`
  Returns:

### getTransactionManagerRef

    public String getTransactionManagerRef()

  Description copied from interface: `CommonRepositoryConfigInformation`
  Returns the bean name of the `PlatformTransactionManager` to be used. Returns null if no reference has been configured explicitly.

  Specified by:
    `getTransactionManagerRef` in interface `CommonRepositoryConfigInformation`
  Overrides:
    `getTransactionManagerRef` in class `ParentDelegatingRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>`
  Returns:

### getSource

    public Element getSource()

  Description copied from interface: `CommonRepositoryConfigInformation`
  Returns the element the repository information is derived from.

  Specified by:
    `getSource` in interface `CommonRepositoryConfigInformation`
  Overrides:
    `getSource` in class `ParentDelegatingRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>`
  Returns:

### getAttribute

    protected String getAttribute(String attribute)

  Returns the attribute of the current context. If it's not set the method will fall back to the parent's source.

  Parameters:
    `attribute` -
  Returns:

### getRepositoryFactoryBeanClassName

    public String getRepositoryFactoryBeanClassName()

  Description copied from interface: `CommonRepositoryConfigInformation`
  Returns the configured repository factory class.

  Specified by:
    `getRepositoryFactoryBeanClassName` in interface `CommonRepositoryConfigInformation`
  Overrides:
    `getRepositoryFactoryBeanClassName` in class `ParentDelegatingRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>`
  Returns:

### getQueryLookupStrategyKey

    public QueryLookupStrategy.Key getQueryLookupStrategyKey()

  Description copied from interface: `CommonRepositoryConfigInformation`
  Returns the strategy finder methods should be resolved.

  Specified by:
    `getQueryLookupStrategyKey` in interface `CommonRepositoryConfigInformation`
  Overrides:
    `getQueryLookupStrategyKey` in class `ParentDelegatingRepositoryConfigInformation<T extends CommonRepositoryConfigInformation>`
  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.