- All Known Implementing Classes:
DefaultBackendInfoFactory
public interface BackendInfoFactory
The backend info factory.
- Author:
- harald
-
Method Summary
Modifier and TypeMethodDescriptionCreates a backend info from a backend name.
The info cannot be used to connect.Creates a backend info.
This info is able to create a connection.create(EncryptedProperties backendProperties) Creates a backend info from backend properties.
The info is able to create a connection.Creates a backend info from a backend.
The info cannot be used to connect.create(BackendInfo backendInfo, String user, char[] password) Creates a backend info from another one with a different user and password.static BackendInfoFactoryThe singleton.
-
Method Details
-
getInstance
The singleton.- Returns:
- the singleton
-
create
Creates a backend info from a backend.
The info cannot be used to connect.- Parameters:
backend- the backend- Returns:
- the backend info
-
create
Creates a backend info from a backend name.
The info cannot be used to connect.- Parameters:
backendName- the backend name- Returns:
- the backend info
-
create
Creates a backend info.
This info is able to create a connection.- Parameters:
url- the backend urluser- the usernamepassword- the passwordschemas- the optional schemas, null if no schema check- Returns:
- the backend info
-
create
Creates a backend info from another one with a different user and password.- Parameters:
backendInfo- the original backend infouser- the usernamepassword- the password- Returns:
- the backend info
-
create
Creates a backend info from backend properties.
The info is able to create a connection.- Parameters:
backendProperties- the properties- Returns:
- the backend info
-