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.core.discovery |
A standard utility class for finding particular lookup services.
|
net.jini.jeri |
Provides the fundamental abstractions and standard implementation
classes for Jini extensible remote invocation (Jini ERI).
|
net.jini.jeri.connection |
Provides interfaces and classes for implementing connection-based
Jini extensible remote invocation (Jini ERI) transport layer
providers.
|
net.jini.jeri.http |
Provides implementations of the
Endpoint and
ServerEndpoint abstractions that use HTTP
messages sent over TCP sockets as the underlying communication
mechanism. |
net.jini.jeri.kerberos |
Provides implementations of
Endpoint and ServerEndpoint that use Kerberos as the underlying
network security protocol to support security related invocation
constraints for remote requests. |
net.jini.jeri.ssl |
Provides implementations of
Endpoint and ServerEndpoint that use TLS/SSL and HTTPS (HTTP over
TLS/SSL) to support invocation constraints. |
net.jini.jeri.tcp |
Provides implementations of the
Endpoint and
ServerEndpoint abstractions that use TCP sockets
as the underlying communication mechanism. |
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
BasicMethodConstraints.MethodDesc.getConstraints()
Returns the constraints as a non-
null value. |
InvocationConstraints |
BasicMethodConstraints.getConstraints(Method method)
Returns the constraints for the specified remote method as a
non-
null value. |
Constructor and Description |
---|
BasicMethodConstraints(InvocationConstraints constraints)
Creates an instance that maps all methods to the specified constraints.
|
MethodDesc(InvocationConstraints constraints)
Creates a default descriptor that matches all methods.
|
MethodDesc(String name,
Class[] types,
InvocationConstraints constraints)
Creates a descriptor that only matches methods with exactly the
specified name and parameter types.
|
MethodDesc(String name,
InvocationConstraints constraints)
Creates a descriptor that matches all methods with names that
equal the specified name or that match the specified pattern,
regardless of their parameter types.
|
Modifier and Type | Field and Description |
---|---|
static InvocationConstraints |
InvocationConstraints.EMPTY
An empty instance, one that has no requirements and no preferences.
|
Modifier and Type | Method and Description |
---|---|
static InvocationConstraints |
InvocationConstraints.combine(InvocationConstraints constraints1,
InvocationConstraints constraints2)
Returns an instance of this class that has all of the requirements from
each non-
null argument added as requirements and has all
of the preferences from each non-null argument added as
preferences. |
InvocationConstraints |
MethodConstraints.getConstraints(Method method)
Returns the constraints for the specified method as a
non-
null value. |
InvocationConstraints |
InvocationConstraints.makeAbsolute()
Returns an instance of this class constructed from all of the same
requirements and preferences as this instance, but with every
constraint that is an instance of
RelativeTimeConstraint
replaced by the result of invoking the constraint's
makeAbsolute method with the current time (as given by
System.currentTimeMillis ). |
InvocationConstraints |
InvocationConstraints.makeAbsolute(long baseTime)
Returns an instance of this class equal to the result of taking the
requirements and preferences in this instance, replacing each
constraint that is an instance of
RelativeTimeConstraint with
the result of invoking that constraint's makeAbsolute
method with the specified base time, and creating a new instance of
this class with duplicate requirements, duplicate preferences, and
preferences that are duplicates of requirements all removed. |
Modifier and Type | Method and Description |
---|---|
static InvocationConstraints |
InvocationConstraints.combine(InvocationConstraints constraints1,
InvocationConstraints constraints2)
Returns an instance of this class that has all of the requirements from
each non-
null argument added as requirements and has all
of the preferences from each non-null argument added as
preferences. |
Modifier and Type | Method and Description |
---|---|
protected ServiceRegistrar |
LookupLocator.getRegistrar(InvocationConstraints constraints)
Perform unicast discovery and return the ServiceRegistrar
object for the given lookup service, with the given constraints.
|
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
ServerCapabilities.checkConstraints(InvocationConstraints constraints)
Verifies that this instance supports the transport layer
aspects of all of the specified requirements (both in general
and in the current security context), and returns the
requirements that must be at least partially implemented by
higher layers in order to fully satisfy all of the specified
requirements.
|
InvocationConstraints |
InboundRequest.checkConstraints(InvocationConstraints constraints)
Verifies that this request satisfies the transport layer
aspects of all of the specified requirements, and returns the
requirements that must be at least partially implemented by
higher layers in order to fully satisfy the specified
requirements.
|
InvocationConstraints |
OutboundRequest.getUnfulfilledConstraints()
Returns the requirements that must be at least partially
implemented by higher layers in order to fully satisfy the
requirements for this request.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicInvocationDispatcher.checkAccess(Remote impl,
Method method,
InvocationConstraints constraints,
Collection context)
Checks that the client has permission to invoke the specified method on
the specified remote object.
|
InvocationConstraints |
ServerCapabilities.checkConstraints(InvocationConstraints constraints)
Verifies that this instance supports the transport layer
aspects of all of the specified requirements (both in general
and in the current security context), and returns the
requirements that must be at least partially implemented by
higher layers in order to fully satisfy all of the specified
requirements.
|
InvocationConstraints |
InboundRequest.checkConstraints(InvocationConstraints constraints)
Verifies that this request satisfies the transport layer
aspects of all of the specified requirements, and returns the
requirements that must be at least partially implemented by
higher layers in order to fully satisfy the specified
requirements.
|
OutboundRequestIterator |
ObjectEndpoint.newCall(InvocationConstraints constraints)
Returns an
OutboundRequestIterator to use to send
a new remote call to the referenced remote object using the
specified constraints. |
OutboundRequestIterator |
BasicObjectEndpoint.newCall(InvocationConstraints constraints)
Returns an
OutboundRequestIterator to use to send
a new remote call to the referenced remote object using the
specified constraints. |
OutboundRequestIterator |
Endpoint.newRequest(InvocationConstraints constraints)
Returns an
OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
ServerConnection.checkConstraints(InboundRequestHandle handle,
InvocationConstraints constraints)
Implements
InboundRequest.checkConstraints for a request with the
specified handle. |
InvocationConstraints |
Connection.getUnfulfilledConstraints(OutboundRequestHandle handle)
Implements
OutboundRequest.getUnfulfilledConstraints for a request with
the specified handle. |
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
ServerConnection.checkConstraints(InboundRequestHandle handle,
InvocationConstraints constraints)
Implements
InboundRequest.checkConstraints for a request with the
specified handle. |
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
HttpServerEndpoint.checkConstraints(InvocationConstraints constraints)
Verifies that this instance supports the transport layer
aspects of all of the specified requirements (both in general
and in the current security context), and returns the
requirements that must be at least partially implemented by
higher layers in order to fully satisfy all of the specified
requirements.
|
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
HttpServerEndpoint.checkConstraints(InvocationConstraints constraints)
Verifies that this instance supports the transport layer
aspects of all of the specified requirements (both in general
and in the current security context), and returns the
requirements that must be at least partially implemented by
higher layers in order to fully satisfy all of the specified
requirements.
|
OutboundRequestIterator |
HttpEndpoint.newRequest(InvocationConstraints constraints)
Returns an
OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
KerberosServerEndpoint.checkConstraints(InvocationConstraints constraints) |
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
KerberosServerEndpoint.checkConstraints(InvocationConstraints constraints) |
OutboundRequestIterator |
KerberosEndpoint.newRequest(InvocationConstraints constraints)
Returns an
OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
SslServerEndpoint.checkConstraints(InvocationConstraints constraints)
Checks that it is possible to receive requests that either
fully or partially satisfy the specified requirements, and
returns any constraints that must be fully or partially
implemented by higher layers in order to fully satisfy all of
the specified requirements.
|
InvocationConstraints |
HttpsServerEndpoint.checkConstraints(InvocationConstraints constraints)
Checks that it is possible to receive requests that either
fully or partially satisfy the specified requirements, and
returns any constraints that must be fully or partially
implemented by higher layers in order to fully satisfy all of
the specified requirements.
|
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
SslServerEndpoint.checkConstraints(InvocationConstraints constraints)
Checks that it is possible to receive requests that either
fully or partially satisfy the specified requirements, and
returns any constraints that must be fully or partially
implemented by higher layers in order to fully satisfy all of
the specified requirements.
|
InvocationConstraints |
HttpsServerEndpoint.checkConstraints(InvocationConstraints constraints)
Checks that it is possible to receive requests that either
fully or partially satisfy the specified requirements, and
returns any constraints that must be fully or partially
implemented by higher layers in order to fully satisfy all of
the specified requirements.
|
OutboundRequestIterator |
SslEndpoint.newRequest(InvocationConstraints constraints)
Returns an
OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
OutboundRequestIterator |
HttpsEndpoint.newRequest(InvocationConstraints constraints)
Returns an
OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
TcpServerEndpoint.checkConstraints(InvocationConstraints constraints)
Verifies that this instance supports the transport layer
aspects of all of the specified requirements (both in general
and in the current security context), and returns the
requirements that must be at least partially implemented by
higher layers in order to fully satisfy all of the specified
requirements.
|
Modifier and Type | Method and Description |
---|---|
InvocationConstraints |
TcpServerEndpoint.checkConstraints(InvocationConstraints constraints)
Verifies that this instance supports the transport layer
aspects of all of the specified requirements (both in general
and in the current security context), and returns the
requirements that must be at least partially implemented by
higher layers in order to fully satisfy all of the specified
requirements.
|
OutboundRequestIterator |
TcpEndpoint.newRequest(InvocationConstraints constraints)
Returns an
OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |