Module is.codion.framework.db.rmi
Package is.codion.framework.db.rmi
Interface RemoteEntityConnectionProvider.Builder
- All Superinterfaces:
EntityConnectionProvider.Builder<RemoteEntityConnectionProvider,
RemoteEntityConnectionProvider.Builder>
- All Known Implementing Classes:
DefaultRemoteEntityConnectionProviderBuilder
- Enclosing interface:
- RemoteEntityConnectionProvider
public static interface RemoteEntityConnectionProvider.Builder
extends EntityConnectionProvider.Builder<RemoteEntityConnectionProvider,RemoteEntityConnectionProvider.Builder>
Builds a
RemoteEntityConnectionProvider
.-
Method Summary
Modifier and TypeMethodDescriptionnamePrefix
(String serverNamePrefix) port
(int port) registryPort
(int registryPort) Methods inherited from interface is.codion.framework.db.EntityConnectionProvider.Builder
build, clientId, clientTypeId, clientVersion, connectionType, domainType, onClose, user
-
Method Details
-
hostName
- Parameters:
hostName
- the server host name- Returns:
- this builder instance
-
port
- Parameters:
port
- the server port- Returns:
- this builder instance
-
registryPort
- Parameters:
registryPort
- the rmi registry port- Returns:
- this builder instance
-
namePrefix
- Parameters:
serverNamePrefix
- the name prefix to use when looking up the server- Returns:
- this builder instance
-