com.threerings.admin.server
Class ExportDatabaseConfigRegistry

java.lang.Object
  extended by com.threerings.admin.server.ConfigRegistry
      extended by com.threerings.admin.server.DatabaseConfigRegistry
          extended by com.threerings.admin.server.ExportDatabaseConfigRegistry

public class ExportDatabaseConfigRegistry
extends DatabaseConfigRegistry

A database config registry that exports objects as opposed to streaming them.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.admin.server.DatabaseConfigRegistry
DatabaseConfigRegistry.DatabaseObjectRecord
 
Nested classes/interfaces inherited from class com.threerings.admin.server.ConfigRegistry
ConfigRegistry.ObjectRecord
 
Field Summary
 
Fields inherited from class com.threerings.admin.server.DatabaseConfigRegistry
_invoker, _node, _repo
 
Fields inherited from class com.threerings.admin.server.ConfigRegistry
_configs, _transitioning
 
Constructor Summary
ExportDatabaseConfigRegistry(com.samskivert.depot.PersistenceContext ctx, Invoker invoker)
          Creates a configuration registry and prepares it for operation.
 
Method Summary
protected  ConfigRegistry.ObjectRecord createObjectRecord(String path, DObject object)
           
 
Methods inherited from class com.threerings.admin.server.ConfigRegistry
createObjectInputStream, createObjectOutputStream, getKeys, getObject, registerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportDatabaseConfigRegistry

@Inject
public ExportDatabaseConfigRegistry(com.samskivert.depot.PersistenceContext ctx,
                                           Invoker invoker)
Creates a configuration registry and prepares it for operation.

Parameters:
ctx - will provide access to our database.
invoker - this will be used to perform all database activity (except first time initialization) so as to avoid blocking the distributed object thread.
Method Detail

createObjectRecord

protected ConfigRegistry.ObjectRecord createObjectRecord(String path,
                                                         DObject object)
Overrides:
createObjectRecord in class DatabaseConfigRegistry