Package tigase.db

# Class DataSourceHelper

java.lang.Object
tigase.db.DataSourceHelper

public class DataSourceHelper extends Object
Created by andrzej on 15.03.2016.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static interface`
  `DataSourceHelper.Matcher`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataSourceHelper()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <T extends Class<?>>
  Set<T>`
  `getAnnotatedClasses(T cls)`
  `static <T extends Class<?>>
  T`
  `getDefaultClass(T cls, String uri)`
  Method returns class which would be by default used as implementation of class
  `static <T extends Class<?>>
  T`
  `getDefaultClass(T cls, String uri, DataSourceHelper.Matcher matcher)`
  `static String`
  `getDefaultClassName(Class cls, String uri)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DataSourceHelper

    public DataSourceHelper()

- ## Method Details

  - ### getAnnotatedClasses

    public static <T extends Class<?>> Set<T> getAnnotatedClasses(T cls)

  - ### getDefaultClass

    public static <T extends Class<?>> T getDefaultClass(T cls, String uri, DataSourceHelper.Matcher matcher) throws DBInitException
    Throws:
      `DBInitException`

  - ### getDefaultClass

    public static <T extends Class<?>> T getDefaultClass(T cls, String uri) throws DBInitException
    Method returns class which would be by default used as implementation of class
    Throws:
      `DBInitException`

  - ### getDefaultClassName

    public static String getDefaultClassName(Class cls, String uri) throws DBInitException
    Throws:
      `DBInitException`