Package | Description |
---|---|
net.jini.constraint |
Provides a basic implementation of
MethodConstraints and a
TrustVerifier for common constraints. |
net.jini.core.constraint |
Defines constraints and collections of constraints that can be used to control
method invocation, and an interface that proxies implement to allow clients
to specify constraints for remote method calls.
|
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.jeri |
Provides the fundamental abstractions and standard implementation
classes for Jini extensible remote invocation (Jini ERI).
|
net.jini.security |
Provides mechanisms and abstractions for managing security, especially in the
presence of dynamically downloaded code.
|
org.apache.river.landlord |
This is a utility for services implementing leases.
|
org.apache.river.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
org.apache.river.phoenix |
A configurable Java(TM) Remote Method Invocation (Java RMI) activation
system daemon implementation.
|
org.apache.river.proxy |
Modifier and Type | Class and Description |
---|---|
class |
BasicMethodConstraints
Basic implementation of
MethodConstraints , allowing limited
wildcard matching on method names and parameter types. |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
RemoteMethodControl.getConstraints()
Returns the client constraints placed on this proxy.
|
Modifier and Type | Method and Description |
---|---|
RemoteMethodControl |
RemoteMethodControl.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy with the client constraints set to the
specified constraints.
|
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
ConstrainableLookupLocator.getConstraints() |
Modifier and Type | Method and Description |
---|---|
RemoteMethodControl |
ConstrainableLookupLocator.setConstraints(MethodConstraints constraints) |
Constructor and Description |
---|
ConstrainableLookupLocator(String host,
int port,
MethodConstraints constraints)
Constructs a new
ConstrainableLookupLocator instance which
can be used to perform unicast discovery to the given host and port with
the provided constraints applied. |
ConstrainableLookupLocator(String url,
MethodConstraints constraints)
Constructs a new
ConstrainableLookupLocator instance which
can be used to perform unicast discovery to the host and port named by
the given URL with the provided constraints applied. |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
BasicInvocationHandler.getClientConstraints()
Returns this
BasicInvocationHandler 's client
constraints. |
MethodConstraints |
BasicInvocationHandler.getServerConstraints()
Returns this
BasicInvocationHandler 's server
constraints. |
MethodConstraints |
BasicILFactory.getServerConstraints()
Returns the server constraints, if any.
|
Modifier and Type | Method and Description |
---|---|
protected InvocationHandler |
BasicInvocationHandler.setClientConstraints(MethodConstraints constraints)
Returns a copy of this invocation handler with the specified
constraints as its new client constraints.
|
Constructor and Description |
---|
BasicILFactory(MethodConstraints serverConstraints,
Class permissionClass)
Creates a
BasicILFactory with the specified server
constraints, permission class, and a null class
loader. |
BasicILFactory(MethodConstraints serverConstraints,
Class permissionClass,
ClassLoader loader)
Creates a
BasicILFactory with the specified server
constraints, permission class, and class loader. |
BasicInvocationDispatcher(Collection methods,
ServerCapabilities serverCapabilities,
MethodConstraints serverConstraints,
Class permissionClass,
ClassLoader loader)
Creates an invocation dispatcher to receive incoming remote calls
for the specified methods, for a server and transport with the
specified capabilities, enforcing the specified constraints,
performing preinvocation access control using the specified
permission class (if any).
|
BasicInvocationHandler(BasicInvocationHandler other,
MethodConstraints clientConstraints)
Creates a new
BasicInvocationHandler with the
specified client constraints and with the same
ObjectEndpoint and server constraints as the given
other BasicInvocationHandler . |
BasicInvocationHandler(ObjectEndpoint oe,
MethodConstraints serverConstraints)
Creates a new
BasicInvocationHandler with the
specified ObjectEndpoint and server constraints. |
ProxyTrustILFactory(MethodConstraints serverConstraints,
Class permissionClass)
Creates a factory with the specified server constraints, permission
class, and a
null class loader. |
ProxyTrustILFactory(MethodConstraints serverConstraints,
Class permissionClass,
ClassLoader loader)
Creates a factory with the specified server constraints, permission
class, and class loader.
|
Modifier and Type | Field and Description |
---|---|
protected MethodConstraints |
BasicProxyPreparer.methodConstraints
Method constraints to use when verifying if proxies are trusted and for
setting their constraints, if
BasicProxyPreparer.methodConstraintsSpecified is
true . |
Modifier and Type | Method and Description |
---|---|
protected MethodConstraints |
BasicProxyPreparer.getMethodConstraints(Object proxy)
Returns the method constraints to use when verifying and setting
constraints on the specified proxy.
|
Constructor and Description |
---|
BasicProxyPreparer(boolean verify,
MethodConstraints methodConstraints,
Permission[] permissions)
Creates a proxy preparer that specifies whether proxies should be
verified, specifies permissions to grant them, and specifies what method
constraints to use when verifying and setting constraints.
|
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
ConstrainableLandlordLease.getConstraints() |
Modifier and Type | Method and Description |
---|---|
RemoteMethodControl |
ConstrainableLandlordLease.setConstraints(MethodConstraints constraints) |
Constructor and Description |
---|
ConstrainableLandlordLease(Uuid cookie,
Landlord landlord,
Uuid landlordUuid,
long expiration,
MethodConstraints methodConstraints)
Create a new
ConstrainableLandlordLease . |
Modifier and Type | Method and Description |
---|---|
AdminIterator |
ConstrainableJavaSpaceAdmin.contents(Entry tmpl,
Transaction txn,
int fetchSize,
MethodConstraints constrains)
Deprecated.
Return an
AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
Constructor and Description |
---|
SystemAccessILFactory(MethodConstraints serverConstraints)
Creates a factory with a
null class loader, the
specified server constraints, the SystemPermission
permission class, and a DefaultGroupPolicy instance. |
SystemAccessILFactory(MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
ClassLoader loader)
Creates a factory with the specified server constraints, permission
class, group policy, and class loader.
|
SystemAccessProxyTrustILFactory(MethodConstraints serverConstraints)
Creates a factory with a
null class loader, the
specified server constraints, the SystemPermission
permission class, and a DefaultGroupPolicy instance. |
SystemAccessProxyTrustILFactory(MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
ClassLoader loader)
Creates a factory with the specified server constraints, permission
class, group policy, and class loader.
|
SystemDispatcher(Collection methods,
Remote impl,
ServerCapabilities serverCaps,
MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
boolean localAccessCheck,
ClassLoader loader)
Creates an invocation dispatcher to receive incoming remote calls
for the specified methods, for a server and transport with the
specified capabilities, enforcing the specified constraints, and
performing preinvocation access control using the specified
permission class and group policy.
|
Modifier and Type | Method and Description |
---|---|
static MethodConstraints |
ConstrainableProxyUtil.translateConstraints(MethodConstraints methodConstraints,
Method[] mappings)
Creates a
MethodConstraints using the constraints in
methodConstraints , but with the methods remapped according
to mappings , where the first element of each pair of
elements is mapped to the second. |
Modifier and Type | Method and Description |
---|---|
static boolean |
ConstrainableProxyUtil.equivalentConstraints(MethodConstraints methodConstraints1,
MethodConstraints methodConstraints2,
Method[] mappings)
Test to see if two
MethodConstraints instances are
equivalent given a method-to-method mapping. |
static MethodConstraints |
ConstrainableProxyUtil.translateConstraints(MethodConstraints methodConstraints,
Method[] mappings)
Creates a
MethodConstraints using the constraints in
methodConstraints , but with the methods remapped according
to mappings , where the first element of each pair of
elements is mapped to the second. |
static void |
ConstrainableProxyUtil.verifyConsistentConstraints(MethodConstraints methodConstraints,
Object proxy,
Method[] mappings)
Verify that an object,
proxy , is an instance of
RemoteMethodControl its MethodConstraints are
equivalent to another MethodConstraints instance,
methodConstraints once a mapping has been applied. |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.