JGDMS Project 3.0-SNAPSHOT API Documentation

Skip navigation links
A C D E G H I L M N O P R S T 

A

ActivateDesc(AtomicSerial.GetArg) - Constructor for class org.apache.river.start.ActivateWrapper.ActivateDesc
 
ActivateDesc(String, URL[], URL[], String, MarshalledObject) - Constructor for class org.apache.river.start.ActivateWrapper.ActivateDesc
Trivial constructor.
ActivateWrapper - Class in org.apache.river.start
A wrapper for activatable objects, providing separation of the import codebase (where the server classes are loaded from by the activation group) from the export codebase (where clients should load classes from for stubs, etc.) as well as providing an independent security policy file for each activatable object.
ActivateWrapper(ActivationID, MarshalledObject) - Constructor for class org.apache.river.start.ActivateWrapper
Activatable constructor.
ActivateWrapper.ActivateDesc - Class in org.apache.river.start
Descriptor for registering a "wrapped" activatable object.
AggregatePolicyProvider - Class in org.apache.river.start
Security policy provider which supports associating security sub-policies with context class loaders.
AggregatePolicyProvider() - Constructor for class org.apache.river.start.AggregatePolicyProvider
Creates a new AggregatePolicyProvider instance, containing a main policy created as follows: if the org.apache.river.start.AggregatePolicyProvider.mainPolicyClass security property is set, then its value is interpreted as the class name of the main policy provider; otherwise, a default class name of "net.jini.security.policy.DynamicPolicyProvider" is used.
AggregatePolicyProvider(Policy) - Constructor for class org.apache.river.start.AggregatePolicyProvider
Creates a new AggregatePolicyProvider instance with the given main policy, which must be non-null.
aid - Variable in class org.apache.river.start.SharedActivatableServiceDescriptor.Created
The activation id of the service

C

ClassLoaderUtil - Class in org.apache.river.start
This class provides useful utilities for creating and manipulating class loaders.
className - Variable in class org.apache.river.start.ActivateWrapper.ActivateDesc
The activatable object's class name.
create(Configuration) - Method in class org.apache.river.start.NonActivatableServiceDescriptor
Attempts to create a service instance based on the service description information provided via constructor parameters.
create(Configuration) - Method in interface org.apache.river.start.ServiceDescriptor
Creates an object described by the actual ServiceDescriptor instance.
create(Configuration) - Method in class org.apache.river.start.SharedActivatableServiceDescriptor
Method that attempts to create a service based on the service description information provided via constructor parameters.
create(Configuration) - Method in class org.apache.river.start.SharedActivationGroupDescriptor
Method that attempts to create a shared activation system group from the description information provided via constructor parameters.
Created(Object, Object) - Constructor for class org.apache.river.start.NonActivatableServiceDescriptor.Created
Constructs an instance of this class.
Created(ActivationGroupID, ActivationID, Object) - Constructor for class org.apache.river.start.SharedActivatableServiceDescriptor.Created
Constructs an instance of this class.

D

data - Variable in class org.apache.river.start.ActivateWrapper.ActivateDesc
The activatable object's initialization data.
descCreated - Variable in class org.apache.river.start.NonActivatableServiceDescriptor
Flag indicating when create() has been called
descCreatedLock - Variable in class org.apache.river.start.NonActivatableServiceDescriptor
Lock object for descCreated flag
displayClassLoaderTree(ClassLoader) - Static method in class org.apache.river.start.ClassLoaderUtil
Utility method that displays the class loader delegation tree for the given class loader.
displayContextClassLoaderTree() - Static method in class org.apache.river.start.ClassLoaderUtil
Utility method that displays the class loader delegation tree for the current context class loader.

E

ensureSecurityManager() - Static method in class org.apache.river.start.ServiceStarter
Utility routine that sets a security manager if one isn't already present.
equals(Object) - Method in class org.apache.river.start.SharedActivationPolicyPermission
Two instances are equal if they have the same name.
exportLocation - Variable in class org.apache.river.start.ActivateWrapper.ActivateDesc
The codebase where clients should load classes from for stubs, etc.

G

getActions() - Method in class org.apache.river.start.SharedActivationPolicyPermission
 
getActivationSystem(String, int, Configuration) - Static method in class org.apache.river.start.ServiceStarter
Utility routine that returns a "prepared" activation system proxy for a system at the given host and port.
getActivationSystemHost() - Method in class org.apache.river.start.SharedActivatableServiceDescriptor
Activation system host accessor method.
getActivationSystemHost() - Method in class org.apache.river.start.SharedActivationGroupDescriptor
Activation system host accessor method.
getActivationSystemPort() - Method in class org.apache.river.start.SharedActivatableServiceDescriptor
Activation system port accessor method.
getActivationSystemPort() - Method in class org.apache.river.start.SharedActivationGroupDescriptor
Activation system port accessor method.
getClasspath() - Method in class org.apache.river.start.SharedActivationGroupDescriptor
Classpath accessor method.
getClasspathURLs(String) - Static method in class org.apache.river.start.ClassLoaderUtil
Utility method that converts the components of a String representing a classpath into file URL(s).
getCodebaseURLs(String) - Static method in class org.apache.river.start.ClassLoaderUtil
Utility method that converts the components of a String representing a codebase into standard URL(s).
getContext() - Method in class org.apache.river.start.AggregatePolicyProvider
Returns a snapshot of the current security context, which can be used to restore the context at a later time.
getExportCodebase() - Method in class org.apache.river.start.NonActivatableServiceDescriptor
Codebase accessor method.
getGrants(Class, Principal[]) - Method in class org.apache.river.start.AggregatePolicyProvider
If the currently active sub-policy supports dynamic permission grants, delegates to the corresponding getGrants method of the currently active sub-policy to return a new array containing the set of permissions dynamically granted to protection domains which are associated with the class loader of the given class and possess at least the given set of principals.
getGrants(Class, Principal[]) - Method in class org.apache.river.start.LoaderSplitPolicyProvider
If both underlying policy providers support dynamic grants, delegates to the getGrants method of the underlying policy associated with the loader of the given class (the loader-specific policy if the class loader is null, the same as or a child of the loader specified in the constructor for this instance, or the default loader otherwise).
getImplClassName() - Method in class org.apache.river.start.NonActivatableServiceDescriptor
Implementation class accessor method.
getImportCodebase() - Method in class org.apache.river.start.NonActivatableServiceDescriptor
Classpath accessor method.
getImportCodebaseURLs(String) - Static method in class org.apache.river.start.ClassLoaderUtil
Utility method that converts the components of a String representing a codebase or classpath into URL(s).
getInnerProxyPreparer() - Method in class org.apache.river.start.SharedActivatableServiceDescriptor
ProxyPreparer accessor method.
getLifeCycle() - Method in class org.apache.river.start.NonActivatableServiceDescriptor
LifeCycle accessor method.
getLog() - Method in class org.apache.river.start.SharedActivationGroupDescriptor
Shared group log accessor method.
getPermissionGrants(ProtectionDomain) - Method in class org.apache.river.start.AggregatePolicyProvider
 
getPermissions(CodeSource) - Method in class org.apache.river.start.AggregatePolicyProvider
Delegates to the corresponding getPermissions method of the currently active sub-policy to return the set of permissions allowed for code from the specified code source, as a newly-created mutable PermissionCollection which supports heterogeneous permission types.
getPermissions(ProtectionDomain) - Method in class org.apache.river.start.AggregatePolicyProvider
If the given protection domain is the protection domain of this class, then a newly-created PermissionCollection containing AllPermission is returned.
getPermissions(CodeSource) - Method in class org.apache.river.start.LoaderSplitPolicyProvider
Delegates to the corresponding getPermissions method of the underlying default policy.
getPermissions(ProtectionDomain) - Method in class org.apache.river.start.LoaderSplitPolicyProvider
If the given protection domain is the protection domain of this class, then a newly-created PermissionCollection containing AllPermission is returned.
getPolicy() - Method in class org.apache.river.start.NonActivatableServiceDescriptor
Policy accessor method.
getPolicy() - Method in class org.apache.river.start.SharedActivationGroupDescriptor
Policy accessor method.
getRestart() - Method in class org.apache.river.start.SharedActivatableServiceDescriptor
Restart accessor method.
getServerCommand() - Method in class org.apache.river.start.SharedActivationGroupDescriptor
Command accessor method.
getServerConfigArgs() - Method in class org.apache.river.start.NonActivatableServiceDescriptor
Service configuration arguments accessor method.
getServerOptions() - Method in class org.apache.river.start.SharedActivationGroupDescriptor
Command options accessor method.
getServerProperties() - Method in class org.apache.river.start.SharedActivationGroupDescriptor
Properties accessor method.
getServicePreparer() - Method in class org.apache.river.start.NonActivatableServiceDescriptor
ProxyPreparer accessor method.
getSharedGroupLog() - Method in class org.apache.river.start.SharedActivatableServiceDescriptor
Shared group log accessor method.
gid - Variable in class org.apache.river.start.SharedActivatableServiceDescriptor.Created
The activation group id of the group hosting the service
grant(Class, Principal[], Permission[]) - Method in class org.apache.river.start.AggregatePolicyProvider
If the currently active sub-policy supports dynamic permission grants, delegates to the corresponding grant method of the currently active sub-policy to grant the specified permissions to all protection domains (including ones not yet created) which are associated with the class loader of the given class and possess at least the given set of principals.
grant(Class, Principal[], Permission[]) - Method in class org.apache.river.start.LoaderSplitPolicyProvider
If both underlying policy providers support dynamic grants, delegates to the grant method of the underlying policy associated with the loader of the given class (the loader-specific policy if the class loader is null, the same as or a child of the loader specified in the constructor for this instance, or the default loader otherwise).
grantSupported() - Method in class org.apache.river.start.AggregatePolicyProvider
Returns true if the currently active sub-policy supports dynamic grants; this is determined by delegating to the grantSupported method of the currently active sub-policy if it implements the DynamicPolicy interface.
grantSupported() - Method in class org.apache.river.start.LoaderSplitPolicyProvider
Returns true if both of the underlying policy providers implement DynamicPolicy and return true from calls to grantSupported; returns false otherwise.

H

hashCode() - Method in class org.apache.river.start.SharedActivationPolicyPermission
 
HTTPDStatus - Class in org.apache.river.start
Class which can be used to print a descriptive warning message if a codebase accessibility problem is found.
httpdWarning(String) - Static method in class org.apache.river.start.HTTPDStatus
Method that takes a codebase parameter and displays a warning message if it is determined that a potential codebase accessibility problem exists.

I

impl - Variable in class org.apache.river.start.NonActivatableServiceDescriptor.Created
The reference to the implementation of the created service
implies(ProtectionDomain, Permission) - Method in class org.apache.river.start.AggregatePolicyProvider
If the given protection domain is the protection domain of this class, then true is returned.
implies(ProtectionDomain, Permission) - Method in class org.apache.river.start.LoaderSplitPolicyProvider
If the given protection domain is the protection domain of this class, then true is returned.
implies(Permission) - Method in class org.apache.river.start.SharedActivationPolicyPermission
 
importLocation - Variable in class org.apache.river.start.ActivateWrapper.ActivateDesc
The codebase where the server classes are loaded from by the activation group.

L

LoaderSplitPolicyProvider - Class in org.apache.river.start
Security policy provider which handles permission queries and grants by delegating to different policy providers depending on the class loader involved.
LoaderSplitPolicyProvider(ClassLoader, Policy, Policy) - Constructor for class org.apache.river.start.LoaderSplitPolicyProvider
Creates a new LoaderSplitPolicyProvider instance which delegates to loaderPolicy any permission query/grant operations involving protection domains or classes with the given class loader, any child class loader of the given class loader, or the null class loader; all other operations are delegated to defaultPolicy (with the exception of refresh, which applies to both policies).

M

main(String[]) - Static method in class org.apache.river.start.HTTPDStatus
Command line interface that checks the accessability of a desired JAR file(s), given its URL address.
main(String[]) - Static method in class org.apache.river.start.ServiceStarter
The main method for the ServiceStarter application.
main(Configuration) - Static method in class org.apache.river.start.ServiceStarter
The main method for embidding the ServiceStarter application.

N

newPermissionCollection() - Method in class org.apache.river.start.SharedActivationPolicyPermission
 
NonActivatableServiceDescriptor - Class in org.apache.river.start
Class used to launch shared, non-activatable, in-process services.
NonActivatableServiceDescriptor(String, String, String, String, String[], LifeCycle, ProxyPreparer) - Constructor for class org.apache.river.start.NonActivatableServiceDescriptor
Main constructor.
NonActivatableServiceDescriptor(AtomicSerial.GetArg) - Constructor for class org.apache.river.start.NonActivatableServiceDescriptor
 
NonActivatableServiceDescriptor(String, String, String, String, Configuration, LifeCycle, ProxyPreparer) - Constructor for class org.apache.river.start.NonActivatableServiceDescriptor
 
NonActivatableServiceDescriptor(String, String, String, String, String[], LifeCycle) - Constructor for class org.apache.river.start.NonActivatableServiceDescriptor
Convenience constructor.
NonActivatableServiceDescriptor(String, String, String, String, String[]) - Constructor for class org.apache.river.start.NonActivatableServiceDescriptor
Convenience constructor.
NonActivatableServiceDescriptor(String, String, String, String, String[], ProxyPreparer) - Constructor for class org.apache.river.start.NonActivatableServiceDescriptor
Convenience constructor.
NonActivatableServiceDescriptor.Created - Class in org.apache.river.start
Object returned by NonActivatableServiceDescriptor.create() method that returns the proxy and implementation references for the created service.

O

org.apache.river.start - package org.apache.river.start
Provides the utilities and APIs used to launch the contributed services provided in the JGDMS release.

P

policy - Variable in class org.apache.river.start.ActivateWrapper.ActivateDesc
The security policy filename or URL.
proxy - Variable in class org.apache.river.start.NonActivatableServiceDescriptor.Created
The reference to the proxy of the created service
proxy - Variable in class org.apache.river.start.SharedActivatableServiceDescriptor.Created
The reference to the proxy of the created service

R

refresh() - Method in class org.apache.river.start.AggregatePolicyProvider
Refreshes the currently active sub-policy by delegating to its refresh method.
refresh() - Method in class org.apache.river.start.LoaderSplitPolicyProvider
Invokes refresh on both the loader-specific and default underlying policy providers.
register(ActivationGroupID, ActivateWrapper.ActivateDesc, boolean, ActivationSystem) - Static method in class org.apache.river.start.ActivateWrapper
Analog to Activatable.register() for activatable objects that want to use this wrapper mechanism.

S

ServiceDescriptor - Interface in org.apache.river.start
Interface that all service description objects must implement.
ServiceStarter - Class in org.apache.river.start
This class provides the main routine for starting shared groups, non-activatable services, and activatable services.
setInnerProxyPreparer(ProxyPreparer) - Method in class org.apache.river.start.SharedActivatableServiceDescriptor
Sets the inner ProxyPreparer for this descriptor.
setLifeCycle(LifeCycle) - Method in class org.apache.river.start.NonActivatableServiceDescriptor
Sets the LifeCycle object for this descriptor.
setPolicy(ClassLoader, Policy) - Method in class org.apache.river.start.AggregatePolicyProvider
Changes sub-policy association with given class loader.
setServicePreparer(ProxyPreparer) - Method in class org.apache.river.start.NonActivatableServiceDescriptor
Sets the ProxyPreparer for this descriptor.
SharedActivatableServiceDescriptor - Class in org.apache.river.start
Class used to launch shared, activatable services.
SharedActivatableServiceDescriptor(AtomicSerial.GetArg) - Constructor for class org.apache.river.start.SharedActivatableServiceDescriptor
 
SharedActivatableServiceDescriptor(String, String, String, String, String, String[], boolean) - Constructor for class org.apache.river.start.SharedActivatableServiceDescriptor
Convenience constructor.
SharedActivatableServiceDescriptor(String, String, String, String, String, String[], ProxyPreparer, ProxyPreparer, boolean) - Constructor for class org.apache.river.start.SharedActivatableServiceDescriptor
Convenience constructor.
SharedActivatableServiceDescriptor(String, String, String, String, String, String[], boolean, String, int) - Constructor for class org.apache.river.start.SharedActivatableServiceDescriptor
Convenience constructor.
SharedActivatableServiceDescriptor(String, String, String, String, String, String[], ProxyPreparer, ProxyPreparer, boolean, String, int) - Constructor for class org.apache.river.start.SharedActivatableServiceDescriptor
Main constructor.
SharedActivatableServiceDescriptor.Created - Class in org.apache.river.start
Object returned by SharedActivatableServiceDescriptor.create() method that returns the associated proxy, activation group identifier, and activation identifier for the created service.
SharedActivationGroupDescriptor - Class in org.apache.river.start
Class used to create a shared activation group.
SharedActivationGroupDescriptor(String, String, String, String, String[], String[]) - Constructor for class org.apache.river.start.SharedActivationGroupDescriptor
Trivial constructor.
SharedActivationGroupDescriptor(String, String, String, String, String[], String[], String, int) - Constructor for class org.apache.river.start.SharedActivationGroupDescriptor
Trivial constructor.
SharedActivationPolicyPermission - Class in org.apache.river.start
Permission class used by the service starter package.
SharedActivationPolicyPermission(String) - Constructor for class org.apache.river.start.SharedActivationPolicyPermission
Constructor that creates a SharedActivationPolicyPermission with the specified name.
SharedActivationPolicyPermission(String, String) - Constructor for class org.apache.river.start.SharedActivationPolicyPermission
Constructor that creates a SharedActivationPolicyPermission with the specified name.
SharedActivationPolicyPermission(AtomicSerial.GetArg) - Constructor for class org.apache.river.start.SharedActivationPolicyPermission
 
START_PACKAGE - Static variable in class org.apache.river.start.ServiceStarter
Component name for service starter configuration entries

T

toString() - Method in class org.apache.river.start.ActivateWrapper.ActivateDesc
 
toString() - Method in class org.apache.river.start.NonActivatableServiceDescriptor
Prints out a field summary
toString() - Method in class org.apache.river.start.SharedActivatableServiceDescriptor
 
toString() - Method in class org.apache.river.start.SharedActivationGroupDescriptor
 
A C D E G H I L M N O P R S T 
Skip navigation links
Copyright ©, multiple authors.

Copyright © 2016–2018. All rights reserved.