Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vollt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sonia Zorba
vollt
Commits
bba65a95
Commit
bba65a95
authored
9 years ago
by
gmantele
Browse files
Options
Downloads
Patches
Plain Diff
[TAP] Allow extension of ConfigurableTAPFactory.
parent
b6b40180
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tap/config/ConfigurableTAPFactory.java
+11
-11
11 additions, 11 deletions
src/tap/config/ConfigurableTAPFactory.java
with
11 additions
and
11 deletions
src/tap/config/ConfigurableTAPFactory.java
+
11
−
11
View file @
bba65a95
...
...
@@ -16,7 +16,7 @@ package tap.config;
* You should have received a copy of the GNU Lesser General Public License
* along with TAPLibrary. If not, see <http://www.gnu.org/licenses/>.
*
* Copyright 201
5
- Astronomisches Rechen Institut (ARI)
* Copyright 201
6
- Astronomisches Rechen Institut (ARI)
*/
import
static
tap
.
config
.
TAPConfiguration
.
DEFAULT_BACKUP_BY_USER
;
...
...
@@ -74,40 +74,40 @@ import adql.translator.PostgreSQLTranslator;
* </p>
*
* @author Grégory Mantelet (ARI)
* @version 2.1 (
11
/201
5
)
* @version 2.1 (
02
/201
6
)
* @since 2.0
*/
public
final
class
ConfigurableTAPFactory
extends
AbstractTAPFactory
{
public
class
ConfigurableTAPFactory
extends
AbstractTAPFactory
{
/* ADQL to SQL translation: */
/** The {@link JDBCTranslator} to use when a ADQL query must be executed in the database.
* This translator is also used to convert ADQL types into database types. */
pr
ivate
Class
<?
extends
JDBCTranslator
>
translator
;
pr
otected
Class
<?
extends
JDBCTranslator
>
translator
;
/* JNDI DB access: */
/** The {@link DataSource} to use in order to access the database.
* <em>This attribute is actually used only if the chosen database access method is JNDI.</em> */
pr
ivate
final
DataSource
datasource
;
pr
otected
final
DataSource
datasource
;
/* Simple JDBC access: */
/** Classpath of the JDBC driver to use in order to access the database.
* <em>This attribute is actually used only if the chosen database access method is JDBC.</em> */
pr
ivate
final
String
driverPath
;
pr
otected
final
String
driverPath
;
/** JDBC URL of the database to access.
* <em>This attribute is actually used only if the chosen database access method is JDBC.</em> */
pr
ivate
final
String
dbUrl
;
pr
otected
final
String
dbUrl
;
/** Name of the database user to use in order to access the database.
* <em>This attribute is actually used only if the chosen database access method is JDBC.</em> */
pr
ivate
final
String
dbUser
;
pr
otected
final
String
dbUser
;
/** Password of the database user to use in order to access the database.
* <em>This attribute is actually used only if the chosen database access method is JDBC.</em> */
pr
ivate
final
String
dbPassword
;
pr
otected
final
String
dbPassword
;
/* UWS's jobs backup: */
/** Indicate whether the jobs must be backuped gathered by user or just all mixed together. */
pr
ivate
boolean
backupByUser
;
pr
otected
boolean
backupByUser
;
/** Frequency at which the jobs must be backuped. */
pr
ivate
long
backupFrequency
;
pr
otected
long
backupFrequency
;
/**
* Build a {@link TAPFactory} using the given TAP service description and TAP configuration file.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment