Package | Description |
---|---|
com.gigaspaces.start | |
com.j_spaces.core.jini | |
com.j_spaces.core.service | |
com.j_spaces.start | |
com.sun.jini.config | |
com.sun.jini.thread |
These are utility classes and interfaces for helping with tasks done in multiple threads.
|
net.jini.config | |
net.jini.discovery |
These are utility classes and interfaces that conform to the discovery and join
protocol defined in the Jini(TM) Discovery and Join Specification.
|
net.jini.lease |
Standard service and utility classes for managing leases.
|
net.jini.lookup |
Standard utility classes for managing the join state of a service
and the service discovery duties of a client or service.
|
org.jini.rio.core |
Modifier and Type | Method and Description |
---|---|
static SystemConfig |
SystemConfig.getInstance(String[] configArgs)
Get an instance of the SystemConfig object
|
ServiceDescriptor |
SystemConfig.getJMXServiceDescriptor()
Get the ServiceDescriptor to start JMX
|
URL[] |
SystemConfig.getPlatformJars()
Get the platformJars
|
ServiceDescriptor |
SystemConfig.getServiceDescriptor(String key) |
Properties |
SystemConfig.getSystemProperties()
Get configured system properties
|
Webster |
SystemConfig.getWebster()
Create a Webster instance
|
static void |
SystemBoot.loadPlatform()
Load the platformJARs and initialize any configured system properties
|
Modifier and Type | Method and Description |
---|---|
static LeaseRenewalManager |
SharedLeaseRenewalManager.getLeaseRenewalManager() |
Constructor and Description |
---|
BackwardsSharedServiceDiscoveryManager(SharedDiscoveryManagement.SharedDiscoEntry entry,
LookupDiscoveryManager discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Deprecated.
|
SharedDiscoveryManager(String[] groups,
LookupLocator[] locators,
DiscoveryListener listener,
Configuration config) |
SharedServiceDiscoveryManager(SharedDiscoveryManagement.SharedDiscoEntry entry,
LookupDiscoveryManager discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
static Configuration |
ServiceConfigLoader.getConfiguration()
Get services.config configuration object
|
Constructor and Description |
---|
RMIRegistryServiceImpl(String[] configArgs,
LifeCycle lifeCycle)
Constructs a
RMIRegistryServiceImpl instance. |
Modifier and Type | Method and Description |
---|---|
static float |
Config.getFloatEntry(Configuration config,
String component,
String name,
float defaultValue,
float min,
float max)
Obtains a
float that falls within the given inclusive range from the specified
Configuration using the specified component and entry names. |
static int |
Config.getIntEntry(Configuration config,
String component,
String name,
int defaultValue,
int min,
int max)
Obtains an
int that falls within the given inclusive range from the specified
Configuration using the specified component and entry names. |
static long |
Config.getLongEntry(Configuration config,
String component,
String name,
long defaultValue,
long min,
long max)
Obtains a
long that falls within the given inclusive range from the specified
Configuration using the specified component and entry names. |
static Object |
Config.getNonNullEntry(Configuration config,
String component,
String name,
Class type)
Obtains a non-
null object from the specified Configuration using the
specified arguments. |
static Object |
Config.getNonNullEntry(Configuration config,
String component,
String name,
Class type,
Object defaultValue)
Obtains a non-
null object from the specified Configuration using the
specified arguments. |
static Object |
Config.getNonNullEntry(Configuration config,
String component,
String name,
Class type,
Object defaultValue,
Object data)
Obtains a non-
null object from the specified Configuration using the
specified arguments. |
Constructor and Description |
---|
WakeupManager(WakeupManager.ThreadDesc desc,
Configuration config)
Create a new
WakeupManager . |
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationNotFoundException
Thrown if a configuration source location specified when creating a
Configuration is
not found, including if null is specified for provider options and the
implementation does not provide default options. |
class |
NoSuchEntryException
Thrown when an attempt to obtain an object from a
Configuration does not find a matching
entry. |
Modifier and Type | Method and Description |
---|---|
protected void |
ConfigurationFile.throwConfigurationException(ConfigurationException defaultException,
List errors)
Allows a subclass of
ConfigurationFile to control the
ConfigurationException that is thrown. |
Modifier and Type | Method and Description |
---|---|
Object |
AbstractConfiguration.getEntry(String component,
String name,
Class type)
Returns an object of the specified type created using the information in the entry matching
the specified component and name, which must be found, and supplying no data.
|
Object |
AggregateConfig.getEntry(String component,
String name,
Class type) |
Object |
Configuration.getEntry(String component,
String name,
Class type)
Returns an object of the specified type created using the information in the entry matching
the specified component and name, which must be found, and supplying no data.
|
Object |
AbstractConfiguration.getEntry(String component,
String name,
Class type,
Object defaultValue)
Returns an object of the specified type created using the information in the entry matching
the specified component and name, and supplying no data, returning the default value if no
matching entry is found and the default value is not
Configuration.NO_DEFAULT . |
Object |
AggregateConfig.getEntry(String component,
String name,
Class type,
Object defaultValue) |
Object |
Configuration.getEntry(String component,
String name,
Class type,
Object defaultValue)
Returns an object of the specified type created using the information in the entry matching
the specified component and name, and supplying no data, returning the default value if no
matching entry is found and the default value is not
Configuration.NO_DEFAULT . |
Object |
AbstractConfiguration.getEntry(String component,
String name,
Class type,
Object defaultValue,
Object data)
Returns an object of the specified type created using the information in the entry matching
the specified component and name, and using the specified data (unless it is
Configuration.NO_DATA ), returning the default value if no matching entry is found and the default value
is not Configuration.NO_DEFAULT . |
Object |
AggregateConfig.getEntry(String component,
String name,
Class type,
Object defaultValue,
Object data) |
Object |
Configuration.getEntry(String component,
String name,
Class type,
Object defaultValue,
Object data)
Returns an object of the specified type created using the information in the entry matching
the specified component and name, and using the specified data (unless it is
Configuration.NO_DATA ), returning the default value if no matching entry is found and the default value
is not Configuration.NO_DEFAULT . |
protected abstract Object |
AbstractConfiguration.getEntryInternal(String component,
String name,
Class type,
Object data)
Returns an object created using the information in the entry matching the specified component
and name, and the specified data, for the requested type.
|
protected Object |
ConfigurationFile.getEntryInternal(String component,
String name,
Class type,
Object data)
Returns an object created using the information in the entry matching the specified component
and name, and the specified data, for the requested type.
|
protected Object |
PlainConfiguration.getEntryInternal(String component,
String name,
Class type,
Object data) |
Class |
ConfigurationFile.getEntryType(String component,
String name)
Returns the static type of the expression specified for the entry with the specified
component and name.
|
static Configuration |
ConfigurationProvider.getInstance(String[] options)
Creates and returns an instance of the configuration provider, using the specified options.
|
static Configuration |
ConfigurationProvider.getInstance(String[] options,
ClassLoader cl)
Creates and returns an instance of the configuration provider, using the specified options
and class loader.
|
protected Object |
ConfigurationFile.getSpecialEntry(String name)
Returns the value of the special entry with the specified name.
|
protected Class |
ConfigurationFile.getSpecialEntryType(String name)
Returns the type of the special entry with the specified name.
|
protected void |
ConfigurationFile.throwConfigurationException(ConfigurationException defaultException,
List errors)
Allows a subclass of
ConfigurationFile to control the
ConfigurationException that is thrown. |
Constructor and Description |
---|
AggregateConfig(Configuration config,
String[] configArgs)
Create an AggregateConfig
|
AggregateConfig(Configuration config,
String[] configArgs,
ClassLoader loader)
Create an AggregateConfig
|
AggregateConfig(String[] configs)
Create an AggregateConfig
|
AggregateConfig(String[] configs,
ClassLoader loader)
Create an AggregateConfig
|
ConfigurationFile(Reader reader,
String[] options)
Creates an instance containing the entries parsed from the specified character stream and
options, using the calling thread's context class loader for interpreting class names.
|
ConfigurationFile(Reader reader,
String[] options,
ClassLoader cl)
Creates an instance containing the entries parsed from the specified character stream and
options, using the specified class loader for interpreting class names.
|
ConfigurationFile(String[] options)
Creates an instance containing the entries specified by the options, using the calling
thread's context class loader for interpreting class names.
|
ConfigurationFile(String[] options,
ClassLoader cl)
Creates an instance containing the entries specified by the options, using the specified
class loader for interpreting class names.
|
Constructor and Description |
---|
LookupDiscovery(String[] groups,
Configuration config)
Constructs a new lookup discovery object, set to discover the given set of groups, and having
the given
Configuration . |
LookupDiscoveryManager(String[] groups,
LookupLocator[] locators,
DiscoveryListener listener,
Configuration config)
Constructs an instance of this class, using the given
Configuration , that will
organize and manage all discovery-related activities on behalf of the client or service that
instantiates this class. |
LookupDiscoveryManager(String[] groups,
LookupLocator[] locators,
DiscoveryListener listener,
Configuration config,
boolean runningWithinRegistrar) |
LookupLocatorDiscovery(LookupLocator[] locators,
Configuration config)
Constructs a new lookup locator discovery object, set to discover the given set of locators,
and having the given
Configuration . |
Constructor and Description |
---|
LeaseRenewalManager(Configuration config)
Constructs an instance of this class that initially manages no leases and that uses
config to control implementation-specific details of the behavior of the
instance created. |
Constructor and Description |
---|
BackwardsServiceDiscoveryManager(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Deprecated.
|
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceID serviceID,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, configured using the items retrieved through the given
Configuration , that will register the service with all discovered lookup
services, using the supplied ServiceID . |
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceIDListener callback,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, configured using the items retrieved through the given
Configuration object, that will register the given service reference with all
discovered lookup services and, through an event sent to the given
ServiceIDListener object, communicate the service ID assigned by the first
lookup service with which the service is registered. |
ServiceDiscoveryManager(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, which is configured using the items retrieved through
the given
Configuration , that will, on behalf of the entity that constructs this
class, discover and manage a set of lookup services, as well as discover and manage sets of
services registered with those lookup services. |
Modifier and Type | Method and Description |
---|---|
void |
MonitorableService.startHeartbeat(String[] configArgs)
Start a heartbeat mechanism to determine the reachability of the Service.
|
Copyright © GigaSpaces.