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.security |
Provides mechanisms and abstractions for managing security, especially in the
presence of dynamically downloaded code.
|
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)
Deprecated.
|
BasicProxyPreparer(MethodConstraints methodConstraints,
Permission[] permissions)
Creates a proxy preparer that specifies what method constraints to use
when verifying and setting constraints and permissions to grant to proxy.
|
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.