com.db4o.config
Class DotnetSupport
java.lang.Object
com.db4o.config.DotnetSupport
- All Implemented Interfaces:
- ConfigurationItem
public class DotnetSupport
- extends java.lang.Object
- implements ConfigurationItem
Adds the basic configuration settings required to access a
.net generated database from java.
The configuration only makes sure that database files can be
successfully open and things like UUIDs can be successfully
retrieved.
Method Summary |
void |
apply(com.db4o.internal.InternalObjectContainer container)
Gives a chance for the item to configure the just opened ObjectContainer. |
void |
prepare(Configuration config)
Gives a chance for the item to augment the configuration. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DotnetSupport
public DotnetSupport()
DotnetSupport
public DotnetSupport(boolean addCSSupport)
- Parameters:
addCSSupport
- true if mappings required for Client/Server
support should be included also.
prepare
public void prepare(Configuration config)
- Description copied from interface:
ConfigurationItem
- Gives a chance for the item to augment the configuration.
- Specified by:
prepare
in interface ConfigurationItem
- Parameters:
config
- the configuration that the item was added to
apply
public void apply(com.db4o.internal.InternalObjectContainer container)
- Description copied from interface:
ConfigurationItem
- Gives a chance for the item to configure the just opened ObjectContainer.
- Specified by:
apply
in interface ConfigurationItem
- Parameters:
container
- the ObjectContainer to configure
Copyright 2007 db4objects Inc. All rights reserved.