Package | Description |
---|---|
com.sun.jini.config |
Defines convenience classes for writing
configuration files and accessing Configuration entries. |
com.sun.jini.example.browser |
A visualization tool for exploring Jini Network Technology
communities (djinns) with support for ServiceUI.
|
com.sun.jini.fiddler |
Provides the server side of an implementation of the lookup discovery service
(see
). |
com.sun.jini.mahalo |
Provides implementations of the
TransactionManager service.
|
com.sun.jini.mercury |
Provides implementations of the
EventMailbox service.
|
com.sun.jini.norm |
Provides implementations of
LeaseRenewalService . |
com.sun.jini.norm.lookup | |
com.sun.jini.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
com.sun.jini.outrigger.snaplogstore | |
com.sun.jini.phoenix |
A configurable Java(TM) Remote Method Invocation (Java RMI) activation
system daemon implementation.
|
com.sun.jini.reggie |
Provides implementations of
ServiceRegistrar . |
com.sun.jini.start |
Provides the utilities and APIs used to launch the contributed services
provided in the Apache River release.
|
com.sun.jini.thread |
These are utility classes and interfaces for helping with tasks done in multiple threads.
|
com.sun.jini.tool.envcheck.plugins | |
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 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.apache.river.config | |
org.apache.river.config.builder |
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 | Field and Description |
---|---|
(package private) Configuration |
Browser.config |
Modifier and Type | Method and Description |
---|---|
private void |
Browser.init(ActionListener exiter,
Configuration config) |
Constructor and Description |
---|
Browser(ActionListener exiter,
Configuration config)
Creates an instance with the given action listener for the Exit
menu item and the given configuration.
|
Modifier and Type | Field and Description |
---|---|
private Configuration |
FiddlerImpl.config |
Modifier and Type | Method and Description |
---|---|
private void |
FiddlerImpl.doInit(Configuration config,
boolean persistent)
Initialization common to all modes in which instances of this service
runs: activatable/persistent, non-activatable/persistent, and
transient (non-activatable /non-persistent).
|
private void |
FiddlerImpl.initWithLogin(Configuration config,
boolean persistent,
LoginContext loginContext)
Initialization with JAAS login as the
Subject referenced
in the given loginContext . |
Modifier and Type | Method and Description |
---|---|
private void |
TxnManagerImpl.doInit(Configuration config) |
private void |
TxnManagerImpl.doInitWithLogin(Configuration config,
LoginContext loginContext) |
(package private) void |
JoinStateManager.startManager(Configuration config,
Object service,
ServiceID serviceID,
Entry[] baseAttributes)
Start the manager.
|
Modifier and Type | Method and Description |
---|---|
private void |
MailboxImpl.doInit(Configuration config)
Initialization common to both activatable and transient instances.
|
private void |
MailboxImpl.doInitWithLogin(Configuration config,
LoginContext loginContext)
Method that attempts to login before delegating the
rest of the initialization process to
doInit |
Constructor and Description |
---|
MailboxImpl.Notifier(Configuration config)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) Exporter |
NormServerBaseImpl.getExporter(Configuration config)
Returns the exporter to use to export this server.
|
(package private) Exporter |
ActivatableNormServerImpl.getExporter(Configuration config) |
(package private) void |
NormServerBaseImpl.initAsSubject(Configuration config)
Common construction for activatable and non-activatable cases, run
under the proper Subject.
|
(package private) void |
ActivatableNormServerImpl.initAsSubject(Configuration config) |
Modifier and Type | Field and Description |
---|---|
private Configuration |
JoinState.config
Configuration, to supply initial attributes, groups, and locators
|
Constructor and Description |
---|
JoinState(Object service,
LeaseRenewalManager lrm,
Configuration config,
Entry[] serviceAttributes,
ProxyPreparer recoveredLookupLocatorPreparer,
ServiceID serviceID)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
OutriggerServerImpl.init(Configuration config,
boolean persistent)
The bulk of the work for creating an
OutriggerServerImpl server. |
(package private) void |
JoinStateManager.startManager(Configuration config,
LogOps log,
Object service,
ServiceID serviceID,
Entry[] baseAttributes)
Start the manager.
|
Constructor and Description |
---|
Notifier(JavaSpace source,
ProxyPreparer recoveredListenerPreparer,
Configuration config)
Create a notifier connected to the given
space . |
TxnMonitor(OutriggerServerImpl space,
Configuration config)
Create a new TxnMonitor.
|
Constructor and Description |
---|
LogStore(Configuration config)
Create a new
LogStore . |
Modifier and Type | Method and Description |
---|---|
private static Configuration |
Activation.getConfig(String[] configOptions,
PhoenixStarter starter)
Return a configuration for the specified options.
|
private static Configuration |
ActivationGroupImpl.getConfiguration(MarshalledObject mobj)
Returns the configuration obtained from the specified marshalled
object.
|
Modifier and Type | Method and Description |
---|---|
private static Exporter |
Activation.getExporter(Configuration config,
String name,
Exporter defaultExporter)
Return the exporter with the specified name from the specified
configuration.
|
private static int |
ActivationGroupImpl.getInt(Configuration config,
String name,
int defValue)
Return an int configuration entry.
|
private static int |
Activation.getInt(Configuration config,
String name,
int defValue)
Return an int configuration entry.
|
private static ProxyPreparer |
ActivationGroupImpl.getPreparer(Configuration config,
String name)
Return a ProxyPreparer configuration entry.
|
private static ProxyPreparer |
Activation.getPreparer(Configuration config,
String name)
Return a ProxyPreparer configuration entry.
|
private void |
Activation.init(ReliableLog log,
LoginContext login,
Configuration config,
String[] configOptions,
PhoenixStarter starter) |
private static void |
Activation.shutdown(Configuration config)
Shut down an activation system daemon, using the specified
configuration location to obtain the host and port of the daemon's
registry, the client constraints for the remote call, and the
permissions to grant to the system proxy.
|
Modifier and Type | Method and Description |
---|---|
private void |
RegistrarImpl.init(Configuration config,
ActivationID activationID,
boolean persistent,
LifeCycle lifeCycle)
Post-login (if login configured) initialization.
|
private void |
RegistrarImpl.loginAndRun(Configuration config,
ActivationID activationID,
boolean persistent,
LifeCycle lifeCycle) |
Constructor and Description |
---|
RegistrarImpl(Configuration config,
ActivationID activationID,
boolean persistent,
LifeCycle lifeCycle)
Constructs RegistrarImpl based on the
Configuration argument.
|
TransientRegistrarImpl(Configuration config,
LifeCycle lifeCycle)
Constructs a TransientRegistrarImpl based on the configuration argument
If lifeCycle is non-null, then its
unregister method is invoked during service shutdown.
|
Modifier and Type | Field and Description |
---|---|
private Configuration |
NonActivatableServiceDescriptor.configuration
serverConfigArgs override.
|
Modifier and Type | Method and Description |
---|---|
Object |
SharedActivationGroupDescriptor.create(Configuration config)
Method that attempts to create a shared activation system group from the
description information provided via constructor parameters.
|
Object |
SharedActivatableServiceDescriptor.create(Configuration config)
Method that attempts to create a service 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 |
NonActivatableServiceDescriptor.create(Configuration config)
Attempts to create a service instance based on the service
description information provided via constructor parameters.
|
private static ServiceStarter.Result[] |
ServiceStarter.create(ServiceDescriptor[] descs,
Configuration config)
Generic service creation method that attempts to start the
services defined by the provided
ServiceDescriptor[]
argument. |
private static ServiceStarter.Result[] |
ServiceStarter.createWithLogin(ServiceDescriptor[] descs,
Configuration config,
LoginContext loginContext)
Generic service creation method that attempts to login via
the provided
LoginContext and then call the
create overload without a login context argument. |
private static void |
DestroySharedGroup.destroy(ServiceDescriptor[] srvArray,
Configuration config)
Method that attempts to destroy any available
SharedGroup
objects in the provided ServiceDescriptor[] . |
private static void |
DestroySharedGroup.destroyWithLogin(ServiceDescriptor[] descs,
Configuration config,
LoginContext loginContext)
Method that attempts to login via the provided
LoginContext and then calls destroy . |
private void |
SharedGroupImpl.doInit(Configuration config) |
private void |
SharedGroupImpl.doInitWithLogin(Configuration config,
LoginContext loginContext) |
(package private) static ActivationSystem |
ServiceStarter.getActivationSystem(String host,
int port,
Configuration config)
Utility routine that returns a "prepared" activation system
proxy for a system at the given
host and
port . |
static void |
ServiceStarter.main(Configuration config)
The main method for embidding the
ServiceStarter application. |
private static void |
ServiceStarter.processServiceDescriptors(Configuration config)
Workhorse function for both main() entrypoints.
|
Constructor and Description |
---|
NonActivatableServiceDescriptor(String exportCodebase,
String policy,
String importCodebase,
String implClassName,
Configuration config,
LifeCycle lifeCycle,
ProxyPreparer preparer) |
Constructor and Description |
---|
WakeupManager(WakeupManager.ThreadDesc desc,
Configuration config)
Create a new
WakeupManager . |
Modifier and Type | Method and Description |
---|---|
private Object |
CheckPersistence.GetEntriesTask.getEntries(Configuration conf)
Obtain all of the
persistenceDirectory entries in the
configuration and return them as pairs in a String
array. |
private Object |
CheckConfig.GetGroupsTask.getGroups(Configuration conf)
Search for all entries named
initialLookupGroups
in the configuration and return the array of GroupInfo
objects containing the full entry name and associated groups |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConfiguration
A skeletal implementation of the
Configuration interface, used
to simplify writing implementations. |
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
private void |
LookupLocatorDiscovery.beginDiscovery(LookupLocator[] locators,
Configuration config)
Using the given
Configuration , initializes the current
instance of this utility, and initiates the discovery process for
the given set of locators. |
private void |
LookupDiscovery.beginDiscovery(String[] groups,
Configuration config)
Using the given
Configuration , initializes the current
instance of this utility, and initiates the discovery process for
the given set of groups. |
private void |
LookupDiscoveryManager.beginDiscovery(String[] groups,
LookupLocator[] locators,
DiscoveryListener listener,
Configuration config)
Using the given
Configuration , initializes the current
instance of this utility, and initiates the discovery process for
the given set of groups and the given set of locators. |
private void |
LookupLocatorDiscovery.init(Configuration config) |
private void |
LookupDiscovery.init(Configuration config) |
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. |
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. |
Modifier and Type | Field and Description |
---|---|
private Configuration |
ServiceDiscoveryManager.thisConfig |
Modifier and Type | Method and Description |
---|---|
private void |
JoinManager.createJoinManager(ServiceID serviceID,
Object serviceProxy,
Entry[] attrSets,
ServiceIDListener callback,
LeaseRenewalManager leaseMgr,
Configuration config)
Convenience method invoked by the constructors of this class that
uses the given
Configuration to initialize the current
instance of this utility, and initiates all join processing for
the given parameters. |
private void |
ServiceDiscoveryManager.init(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config) |
Constructor and Description |
---|
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 |
---|---|
Configuration |
ConfigurationFactory.createConfiguration()
Create a Configuration.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
VelocityConfigurationBuilder.createConfiguration() |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.