Package | Description |
---|---|
com.sun.jini.landlord |
This is a utility for services implementing leases.
|
com.sun.jini.proxy | |
com.sun.jini.reggie |
Provides implementations of
ServiceRegistrar . |
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(TM) Discovery and Join Specification.
|
net.jini.security |
Provides mechanisms and abstractions for managing security, especially in the
presence of dynamically downloaded code.
|
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 |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
ConstrainableEventLease.getConstraints() |
Modifier and Type | Method and Description |
---|---|
RemoteMethodControl |
ConstrainableEventLease.setConstraints(MethodConstraints constraints) |
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 | 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.
|
Copyright © GigaSpaces.