public final class RegistryConfig
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADDRESS_PROPERTY
Address property.
|
static String |
DEFAULT_ADDRESS
Default address.
|
static String |
PORT_PROPERTY
Port property.
|
static String |
PRIVATE_PROPERTY
Private property.
|
static String |
PROTECTED_PROPERTY
Protected property.
|
static String |
RMI_REGISTRY_PROPERTIES
RMI registry properties.
|
static String |
SHARED_PROPERTY
Shared property.
|
Constructor and Description |
---|
RegistryConfig(KeyedGroups contextProperties)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getRegistryPort()
Gets the registry port.
|
InetSocketAddress |
getRegistrySocketAddress()
Gets the registry socket address.
|
boolean |
isRegistryPrivate()
Asks if the registry should be private.
|
boolean |
isRegistryReadOnly()
Asks if the registry should be read-only.
|
boolean |
isRegistryShared()
Asks if the registry may be shared.
|
public static final String ADDRESS_PROPERTY
public static final String DEFAULT_ADDRESS
public static final String PORT_PROPERTY
public static final String PRIVATE_PROPERTY
public static final String PROTECTED_PROPERTY
public static final String RMI_REGISTRY_PROPERTIES
public static final String SHARED_PROPERTY
public RegistryConfig(@Nonnull KeyedGroups contextProperties)
contextProperties
- The context properties.@CheckReturnValue public int getRegistryPort()
@Nullable @CheckReturnValue public InetSocketAddress getRegistrySocketAddress()
@CheckReturnValue public boolean isRegistryPrivate()
@CheckReturnValue public boolean isRegistryReadOnly()
@CheckReturnValue public boolean isRegistryShared()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.