Added code to create a connection provider and use that when creating the
scene repository. Also added example config for the static connection provider that's used by default. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@359 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# $Id: dbmap.properties,v 1.1 2001/09/28 22:23:48 mdb Exp $
|
||||
#
|
||||
# Database map for the Whirled server. This provides information on the
|
||||
# JDBC connections that are used by Whirled server services.
|
||||
|
||||
#
|
||||
# A sample database mapping for a database identified as "scenedb".
|
||||
#
|
||||
scenedb.driver = org.gjt.mm.mysql.Driver
|
||||
scenedb.url = jdbc:mysql://DBHOSTNAME:3306/DBNAME
|
||||
scenedb.username = MYUSERNAME
|
||||
scenedb.password = MYPASSWORD
|
||||
@@ -1,9 +1,18 @@
|
||||
#
|
||||
# $Id: server.properties,v 1.1 2001/08/14 06:51:07 mdb Exp $
|
||||
# $Id: server.properties,v 1.2 2001/09/28 22:23:48 mdb Exp $
|
||||
#
|
||||
# Configuration for the Whirled server
|
||||
|
||||
#
|
||||
# These invocation service providers will be registered with the
|
||||
# invocation manager during the server init process
|
||||
# invocation manager during the server init process.
|
||||
#
|
||||
providers = \
|
||||
whirled!scene = com.threerings.whirled.server.SceneProvider
|
||||
|
||||
#
|
||||
# This specifies the path (in the classpath) to a properties file which
|
||||
# configures the StaticConnectionProvider that is used to provide database
|
||||
# connections to the Whirled server.
|
||||
#
|
||||
dbmap = rsrc/config/whirled/dbmap.properties
|
||||
|
||||
Reference in New Issue
Block a user