db4o 8.0

com.db4o.config
Interface NameProvider

All Known Implementing Classes:
SimpleNameProvider

public interface NameProvider

A provider for custom database names.


Method Summary
 java.lang.String name(ObjectContainer db)
          Derives a name for the given ObjectContainer.
 

Method Detail

name

java.lang.String name(ObjectContainer db)
Derives a name for the given ObjectContainer. This method will be called when database startup has completed, i.e. the method will see a completely initialized ObjectContainer. Any code invoked during the startup process (for example ConfigurationItem instances) will still see the default naming.


db4o 8.0

Copyright 2009 Versant Corporation. All rights reserved.