samples/livedb/src/main/java/org/apidesign/livedb/LiveDB.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 12 Nov 2019 08:55:35 +0100
changeset 414 0e707eef1e4a
parent 361 samples/livedb/src/org/apidesign/livedb/LiveDB.java@6507a9474b6d
permissions -rw-r--r--
Rewriting the Live DB example to Maven
jtulach@355
     1
package org.apidesign.livedb;
jtulach@355
     2
jtulach@355
     3
import java.lang.annotation.ElementType;
jtulach@355
     4
import java.lang.annotation.Retention;
jtulach@355
     5
import java.lang.annotation.RetentionPolicy;
jtulach@355
     6
import java.lang.annotation.Target;
jtulach@355
     7
jtulach@355
     8
/**
jtulach@355
     9
 *
jtulach@355
    10
 * @author Jaroslav Tulach <jtulach@netbeans.org>
jtulach@355
    11
 */
jtulach@361
    12
// BEGIN: livedb.connection.annotation
jtulach@355
    13
@Target(ElementType.PACKAGE)
jtulach@355
    14
@Retention(RetentionPolicy.SOURCE)
jtulach@355
    15
public @interface LiveDB {
jtulach@357
    16
    String url();
jtulach@357
    17
    String user();
jtulach@357
    18
    String password();
jtulach@357
    19
    String query();
jtulach@355
    20
    String classname();
jtulach@355
    21
}
jtulach@361
    22
// END: livedb.connection.annotation