Module is.codion.framework.db.rmi
Package is.codion.framework.db.rmi
Class DefaultRemoteEntityConnectionProviderBuilder
java.lang.Object
is.codion.framework.db.AbstractEntityConnectionProvider.AbstractBuilder<RemoteEntityConnectionProvider,RemoteEntityConnectionProvider.Builder>
is.codion.framework.db.rmi.DefaultRemoteEntityConnectionProviderBuilder
- All Implemented Interfaces:
EntityConnectionProvider.Builder<RemoteEntityConnectionProvider,
,RemoteEntityConnectionProvider.Builder> RemoteEntityConnectionProvider.Builder
public final class DefaultRemoteEntityConnectionProviderBuilder
extends AbstractEntityConnectionProvider.AbstractBuilder<RemoteEntityConnectionProvider,RemoteEntityConnectionProvider.Builder>
implements RemoteEntityConnectionProvider.Builder
Builds a
RemoteEntityConnectionProvider
instance.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aEntityConnectionProvider
instance based on this buildernamePrefix
(String namePrefix) port
(int port) registryPort
(int registryPort) Methods inherited from class is.codion.framework.db.AbstractEntityConnectionProvider.AbstractBuilder
clientId, clientTypeId, clientVersion, connectionType, domainType, onClose, user
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface is.codion.framework.db.EntityConnectionProvider.Builder
clientId, clientTypeId, clientVersion, connectionType, domainType, onClose, user
-
Constructor Details
-
DefaultRemoteEntityConnectionProviderBuilder
public DefaultRemoteEntityConnectionProviderBuilder()Instantiates a newDefaultRemoteEntityConnectionProviderBuilder
-
-
Method Details
-
hostName
- Specified by:
hostName
in interfaceRemoteEntityConnectionProvider.Builder
- Parameters:
hostName
- the server host name- Returns:
- this builder instance
-
port
- Specified by:
port
in interfaceRemoteEntityConnectionProvider.Builder
- Parameters:
port
- the server port- Returns:
- this builder instance
-
registryPort
- Specified by:
registryPort
in interfaceRemoteEntityConnectionProvider.Builder
- Parameters:
registryPort
- the rmi registry port- Returns:
- this builder instance
-
namePrefix
- Specified by:
namePrefix
in interfaceRemoteEntityConnectionProvider.Builder
- Parameters:
namePrefix
- the name prefix to use when looking up the server- Returns:
- this builder instance
-
build
Description copied from interface:EntityConnectionProvider.Builder
Builds aEntityConnectionProvider
instance based on this builder- Specified by:
build
in interfaceEntityConnectionProvider.Builder<RemoteEntityConnectionProvider,
RemoteEntityConnectionProvider.Builder> - Returns:
- a new
EntityConnectionProvider
instance
-