Package | Description |
---|---|
com.sun.jini.config |
Defines convenience classes for writing
configuration files and accessing Configuration entries. |
com.sun.jini.start |
Provides the utilities and APIs used to launch the contributed services
provided in the Jini(TM) Technology Starter Kit (starter kit).
|
com.sun.jini.thread |
These are utility classes and interfaces for helping with tasks done in multiple threads.
|
net.jini.config |
Provides a
Configuration interface for obtaining
objects needed to configure applications, such as Exporter or ProxyPreparer
instances, or other application-specific objects, from configuration
files, databases, or other sources. |
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.
|
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. |
Modifier and Type | Method and Description |
---|---|
Object |
NonActivatableServiceDescriptor.create(Configuration config)
Attempts to create a service instance based on the service
description information provided via constructor parameters.
|
Object |
ServiceDescriptor.create(Configuration config)
Creates an object described by the
actual
ServiceDescriptor instance. |
Object |
SharedActivatableServiceDescriptor.create(Configuration config)
Method that attempts to create a service based on the service
description information provided via constructor parameters.
|
Object |
SharedActivationGroupDescriptor.create(Configuration config)
Method that attempts to create a shared activation system group from the
description information provided via constructor parameters.
|
Constructor and Description |
---|
WakeupManager(WakeupManager.ThreadDesc desc,
Configuration config)
Create a new
WakeupManager . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConfiguration
A skeletal implementation of the
Configuration interface, used
to simplify writing implementations. |
class |
AggregateConfig |
class |
ConfigurationFile
Supplies objects needed to configure applications, such as
Exporter
or ProxyPreparer instances, or application-specific objects,
constructed from data in a configuration source and override options, as
well as data supplied in the call to getEntry . |
class |
EmptyConfiguration
A
Configuration with no entries. |
class |
PlainConfiguration |
Modifier and Type | Method and Description |
---|---|
Configuration |
AggregateConfig.getCommonConfiguration()
Get the common configuration this class was created with
|
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.
|
Constructor and Description |
---|
AggregateConfig(Configuration config,
String[] configArgs)
Create an AggregateConfig
|
AggregateConfig(Configuration config,
String[] configArgs,
ClassLoader loader)
Create an AggregateConfig
|
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. |
Copyright © GigaSpaces.