Module is.codion.framework.db.rmi
Package is.codion.framework.db.rmi
Interface RemoteEntityConnectionProvider
-
- All Superinterfaces:
AutoCloseable
,EntityConnectionProvider
public interface RemoteEntityConnectionProvider extends EntityConnectionProvider
A class responsible for managing a remote entity connection.- See Also:
builder()
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RemoteEntityConnectionProvider.Builder
Builds aRemoteEntityConnectionProvider
.
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_CLIENT_DOMAIN_TYPE
A key for specifying the domain type required by a remote client-
Fields inherited from interface is.codion.framework.db.EntityConnectionProvider
CLIENT_CONNECTION_TYPE, CLIENT_DOMAIN_CLASS, CONNECTION_TYPE_HTTP, CONNECTION_TYPE_LOCAL, CONNECTION_TYPE_REMOTE
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static RemoteEntityConnectionProvider.Builder
builder()
Instantiates a new builder instance.String
serverHostName()
ServerInformation
serverInformation()
-
Methods inherited from interface is.codion.framework.db.EntityConnectionProvider
addOnConnectListener, clientId, clientTypeId, clientVersion, close, connection, connectionType, description, domainClassName, entities, isConnected, isConnectionValid, removeOnConnectListener, user
-
-
-
-
Field Detail
-
REMOTE_CLIENT_DOMAIN_TYPE
static final String REMOTE_CLIENT_DOMAIN_TYPE
A key for specifying the domain type required by a remote client- See Also:
- Constant Field Values
-
-
Method Detail
-
serverHostName
String serverHostName()
- Returns:
- the name of the host of the server providing the connection
-
serverInformation
ServerInformation serverInformation()
- Returns:
- the info on the server last connected to
-
builder
static RemoteEntityConnectionProvider.Builder builder()
Instantiates a new builder instance.- Returns:
- a new builder
- See Also:
EntityConnectionProvider.CLIENT_CONNECTION_TYPE
-
-