public interface StoreSessionFactory
extends Remote
Allows the creation of store sessions.
Modifier and Type | Field and Description |
---|---|
static String |
BINDING_PROPERTY
The RMI URI for the server binding.
|
static String |
DEFAULT_PROXY_STORE_NAME
Default ProxyStore RMI server name.
|
static String |
NAME_PROPERTY
The name of the store.
|
static String |
PASSWORD_PROPERTY
The user password for store connections.
|
static String |
STORE_PROPERTIES
The store properties.
|
static String |
USER_PROPERTY
The user identification for store connections.
|
Modifier and Type | Method and Description |
---|---|
StoreSession |
createStoreSession(UUID uuid,
String clientName)
Creates a store session.
|
static final String BINDING_PROPERTY
static final String DEFAULT_PROXY_STORE_NAME
static final String NAME_PROPERTY
static final String PASSWORD_PROPERTY
static final String STORE_PROPERTIES
static final String USER_PROPERTY
@Nonnull @CheckReturnValue StoreSession createStoreSession(@Nonnull UUID uuid, @Nonnull String clientName) throws RemoteException, SessionException
uuid
- A UUID used to locate the RMI client instance.clientName
- A descriptive name for the client.RemoteException
- From RMI RunTime.SessionException
- When the session creation fails.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.