Class DefaultBackendFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultBackendFactory()
      Creates a backend factory.
      Collects all Backend services.
    • Constructor Detail

      • DefaultBackendFactory

        public DefaultBackendFactory()
        Creates a backend factory.
        Collects all Backend services.
    • Method Detail

      • getBackendByUrl

        public Backend getBackendByUrl​(java.lang.String url)
        Description copied from interface: BackendFactory
        Creates a backend by jdbc url.
        Specified by:
        getBackendByUrl in interface BackendFactory
        Parameters:
        url - the connection url
        Returns:
        the backend
      • getBackendByName

        public Backend getBackendByName​(java.lang.String name)
        Description copied from interface: BackendFactory
        Creates a backend by name.
        Specified by:
        getBackendByName in interface BackendFactory
        Parameters:
        name - the backend name
        Returns:
        the backend
      • getAllBackends

        public java.util.Collection<Backend> getAllBackends()
        Description copied from interface: BackendFactory
        Creates all backends in classpath.
        Specified by:
        getAllBackends in interface BackendFactory
        Returns:
        the collection of all backends