Package com.db4o.cs.internal.config
Class LegacyClientServerFactoryImpl
- java.lang.Object
-
- com.db4o.cs.internal.config.LegacyClientServerFactoryImpl
-
- All Implemented Interfaces:
LegacyClientServerFactory
public class LegacyClientServerFactoryImpl extends java.lang.Object implements LegacyClientServerFactory
-
-
Constructor Summary
Constructors Constructor Description LegacyClientServerFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectContainer
openClient(Configuration config, java.lang.String hostName, int port, java.lang.String user, java.lang.String password)
ObjectServer
openServer(Configuration config, java.lang.String databaseFileName, int port)
-
-
-
Method Detail
-
openClient
public ObjectContainer openClient(Configuration config, java.lang.String hostName, int port, java.lang.String user, java.lang.String password) throws Db4oIOException, OldFormatException, InvalidPasswordException
- Specified by:
openClient
in interfaceLegacyClientServerFactory
- Throws:
Db4oIOException
OldFormatException
InvalidPasswordException
-
openServer
public ObjectServer openServer(Configuration config, java.lang.String databaseFileName, int port) throws Db4oIOException, IncompatibleFileFormatException, OldFormatException, DatabaseFileLockedException, DatabaseReadOnlyException
- Specified by:
openServer
in interfaceLegacyClientServerFactory
- Throws:
Db4oIOException
IncompatibleFileFormatException
OldFormatException
DatabaseFileLockedException
DatabaseReadOnlyException
-
-