Experimental JDBC API for JavaScript plug-ins

This commit is contained in:
Naoki Takezoe
2014-07-24 01:39:26 +09:00
parent 89515cd087
commit f5a544603a
3 changed files with 41 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
package plugin
import plugin.PluginSystem._
import java.sql.Connection
trait Plugin {
val id: String
@@ -14,3 +15,7 @@ trait Plugin {
def repositoryActions : List[RepositoryAction]
def globalActions : List[Action]
}
object PluginConnectionHolder {
val threadLocal = new ThreadLocal[Connection]
}