|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InvocationConstraints | |
---|---|
com.sun.jini.discovery | Provides a set of constraints, low-level utility classes, and provider interfaces for participating in versions 1 and 2 of the multicast request, multicast announcement, and unicast discovery protocols. |
com.sun.jini.discovery.internal | |
com.sun.jini.discovery.kerberos | Provides an implementation of the net.jini.discovery.kerberos
discovery format, specified in the Jini Discovery and Join
Specification. |
com.sun.jini.discovery.plaintext | Provides an implementation of the net.jini.discovery.plaintext
discovery format, specified in the Jini Discovery and Join
Specification. |
com.sun.jini.discovery.ssl | Provides an implementation of the net.jini.discovery.ssl discovery
format, specified in the Jini Discovery and Join Specification. |
com.sun.jini.discovery.x500.sha1withdsa | Provides an implementation of the
net.jini.discovery.x500.SHA1withDSA discovery format, specified in
the Jini Discovery and Join Specification. |
com.sun.jini.discovery.x500.sha1withrsa | Provides an implementation of the
net.jini.discovery.x500.SHA1withRSA discovery format, specified in
the Jini Discovery and Join Specification. |
com.sun.jini.jeri.internal.http | |
com.sun.jini.jeri.internal.mux | |
com.sun.jini.phoenix | A configurable Java(TM) Remote Method Invocation (Java RMI) activation system daemon implementation. |
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 Discovery and Join Specification. |
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. |
Uses of InvocationConstraints in com.sun.jini.discovery |
---|
Fields in com.sun.jini.discovery declared as InvocationConstraints | |
---|---|
private InvocationConstraints |
DiscoveryConstraints.unfulfilled
|
Methods in com.sun.jini.discovery that return InvocationConstraints | |
---|---|
InvocationConstraints |
DiscoveryConstraints.getUnfulfilledConstraints()
Returns the constraints for this instance which are not, or do not contain as alternatives, instances of the "fulfillable" (by this layer) constraint types DiscoveryProtocolVersion ,
ConnectionRelativeTime , MulticastMaxPacketSize ,
MulticastTimeToLive , and UnicastSocketTimeout . |
Methods in com.sun.jini.discovery with parameters of type InvocationConstraints | |
---|---|
private static void |
DiscoveryV1.checkConstraints(InvocationConstraints constraints)
|
void |
UnicastDiscoveryClient.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
Checks and returns normally if this client is capable of fulfilling the given absolute constraints. |
void |
UnicastDiscoveryServer.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
Checks and returns normally if this server is capable of fulfilling the given absolute constraints. |
private static int |
DiscoveryConstraints.chooseProtocolVersion(Set protocolVersions,
Set protocolVersionPrefs,
InvocationConstraints unfulfilled)
|
MulticastAnnouncement |
MulticastAnnouncementDecoder.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints)
Decodes the multicast announcement data contained in the given buffer in a manner that satisfies the specified absolute constraints, returning a MulticastAnnouncement instance that contains the decoded data. |
MulticastAnnouncement |
DelayedMulticastAnnouncementDecoder.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints,
boolean delayConstraintCheck)
Decodes the multicast announcement data contained in the given buffer in a manner that satisfies the specified absolute constraints, returning a MulticastAnnouncement instance that contains the decoded data,
with constraint checking optionally delayed. |
MulticastAnnouncement |
DiscoveryV2.decodeMulticastAnnouncement(DatagramPacket packet,
InvocationConstraints constraints)
|
MulticastAnnouncement |
DiscoveryV1.decodeMulticastAnnouncement(DatagramPacket packet,
InvocationConstraints constraints)
|
abstract MulticastAnnouncement |
Discovery.decodeMulticastAnnouncement(DatagramPacket packet,
InvocationConstraints constraints)
Decodes the multicast announcement data contained in the given datagram in a manner that satisfies the specified constraints, returning a MulticastAnnouncement instance that contains the decoded data. |
MulticastAnnouncement |
DiscoveryV2.decodeMulticastAnnouncement(DatagramPacket packet,
InvocationConstraints constraints,
boolean delayConstraintCheck)
|
MulticastAnnouncement |
Discovery.decodeMulticastAnnouncement(DatagramPacket packet,
InvocationConstraints constraints,
boolean delayConstraintCheck)
Decodes the multicast announcement data contained in the given datagram in a manner that satisfies the specified constraints, returning a MulticastAnnouncement instance that contains the decoded data, with
constraint checking optionally delayed. |
MulticastRequest |
MulticastRequestDecoder.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker)
Decodes the multicast request data contained in the given buffer in a manner that satisfies the specified absolute constraints and client subject checker (if any), returning a MulticastRequest instance
that contains the decoded data. |
MulticastRequest |
DelayedMulticastRequestDecoder.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
Decodes the multicast request data contained in the given buffer in a manner that satisfies the specified absolute constraints and client subject checker (if any), returning a MulticastRequest instance
that contains the decoded data, with constraint checking optionally
delayed. |
MulticastRequest |
DiscoveryV2.decodeMulticastRequest(DatagramPacket packet,
InvocationConstraints constraints,
ClientSubjectChecker checker)
|
MulticastRequest |
DiscoveryV1.decodeMulticastRequest(DatagramPacket packet,
InvocationConstraints constraints,
ClientSubjectChecker checker)
|
abstract MulticastRequest |
Discovery.decodeMulticastRequest(DatagramPacket packet,
InvocationConstraints constraints,
ClientSubjectChecker checker)
Decodes the multicast request data contained in the given datagram in a manner that satisfies the specified constraints and client subject checker (if any), returning a MulticastRequest instance that
contains the decoded data. |
MulticastRequest |
DiscoveryV2.decodeMulticastRequest(DatagramPacket packet,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
|
MulticastRequest |
Discovery.decodeMulticastRequest(DatagramPacket packet,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
Decodes the multicast request data contained in the given datagram in a manner that satisfies the specified constraints and client subject checker (if any), returning a MulticastRequest instance that
contains the decoded data, with constraint checking optionally
delayed. |
UnicastResponse |
DiscoveryV2.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context)
|
UnicastResponse |
DiscoveryV1.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context)
|
abstract UnicastResponse |
Discovery.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context)
Performs the client side of unicast discovery, obtaining the returned response data over the provided socket using the given default and codebase verifier class loaders and collection of object stream context objects in a manner that satisfies the specified constraints. |
UnicastResponse |
UnicastDiscoveryClient.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context,
ByteBuffer sent,
ByteBuffer received)
Performs the client side of unicast discovery, obtaining the returned response data over the provided socket using the given default and codebase verifier class loaders and collection of object stream context objects in a manner that satisfies the specified absolute constraints. |
private static DatagramPacket[] |
DiscoveryV1.encode(MulticastAnnouncement announcement,
int maxPacketSize,
InvocationConstraints constraints)
|
private static DatagramPacket[] |
DiscoveryV1.encode(MulticastRequest request,
int maxPacketSize,
InvocationConstraints constraints)
|
void |
MulticastAnnouncementEncoder.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
Encodes the given multicast announcement data into byte buffers obtained from the provided datagram buffer factory, in a manner that satisfies the specified absolute constraints. |
EncodeIterator |
DiscoveryV2.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
int maxPacketSize,
InvocationConstraints constraints)
|
EncodeIterator |
DiscoveryV1.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
int maxPacketSize,
InvocationConstraints constraints)
|
abstract EncodeIterator |
Discovery.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
int maxPacketSize,
InvocationConstraints constraints)
Returns an iterator which can be used to encode the given multicast announcement data into sets of DatagramPacket s, each bounded in
length by the specified maximum packet size, in a manner that satisfies
the given constraints. |
void |
MulticastRequestEncoder.encodeMulticastRequest(MulticastRequest request,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
Encodes the given multicast request data into byte buffers obtained from the provided datagram buffer factory, in a manner that satisfies the specified absolute constraints. |
EncodeIterator |
DiscoveryV2.encodeMulticastRequest(MulticastRequest request,
int maxPacketSize,
InvocationConstraints constraints)
|
EncodeIterator |
DiscoveryV1.encodeMulticastRequest(MulticastRequest request,
int maxPacketSize,
InvocationConstraints constraints)
|
abstract EncodeIterator |
Discovery.encodeMulticastRequest(MulticastRequest request,
int maxPacketSize,
InvocationConstraints constraints)
Returns an iterator which can be used to encode the given multicast request data into sets of DatagramPacket s, each bounded in
length by the specified maximum packet size, in a manner that satisfies
the given constraints. |
void |
DiscoveryV2.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context)
|
void |
DiscoveryV1.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context)
|
abstract void |
Discovery.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context)
Handles the server side of unicast discovery, transmitting the given response data over the provided socket using the given collection of object stream context objects in a manner that satisfies the specified constraints and client subject checker (if any). |
void |
UnicastDiscoveryServer.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context,
ByteBuffer received,
ByteBuffer sent)
Handles the server side of unicast discovery, transmitting the given response data over the provided socket using the given collection of object stream context objects in a manner that satisfies the specified absolute constraints and client subject checker (if any). |
static DiscoveryConstraints |
DiscoveryConstraints.process(InvocationConstraints constraints)
Processes the discovery-related constraints in the given set of constraints, returning a DiscoveryConstraints instance from
which the constraint results can be queried. |
(package private) Set |
DiscoveryConstraints.ConstraintReducer.reduce(InvocationConstraints constraints)
Returns the reduction of the given constraints into a single set of alternatives for the target class. |
Constructors in com.sun.jini.discovery with parameters of type InvocationConstraints | |
---|---|
DiscoveryConstraints(InvocationConstraints constraints)
|
Uses of InvocationConstraints in com.sun.jini.discovery.internal |
---|
Fields in com.sun.jini.discovery.internal declared as InvocationConstraints | |
---|---|
private InvocationConstraints |
X500Client.X500MulticastAnnouncement.constraints
|
private InvocationConstraints |
X500Server.X500MulticastRequest.constraints
|
private InvocationConstraints |
X500Constraints.distilled
|
Methods in com.sun.jini.discovery.internal that return InvocationConstraints | |
---|---|
InvocationConstraints |
EndpointInternals.getUnfulfilledConstraints(OutboundRequestHandle handle)
Returns any constraints that must be partially or fully implemented by higher layers for the outbound request represented by the given handle. |
Methods in com.sun.jini.discovery.internal with parameters of type InvocationConstraints | |
---|---|
static void |
Plaintext.checkConstraints(InvocationConstraints constraints)
Returns normally if the given constraints can be satisfied by a plaintext-based format/protocol (such as net.jini.discovery.plaintext, or version 1 of the discovery protocols); otherwise, throws an UnsupportedConstraintException . |
(package private) static boolean |
EndpointBasedProvider.checkIntegrity(InvocationConstraints constraints)
Returns true if the given constraints include Integrity.YES as a requirement or preference; returns false otherwise. |
void |
EndpointBasedClient.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
|
void |
EndpointBasedServer.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
|
MulticastAnnouncement |
X500Client.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints)
|
MulticastAnnouncement |
X500Client.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints,
boolean delayConstraintCheck)
|
MulticastRequest |
X500Server.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker)
|
MulticastRequest |
X500Server.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
|
UnicastResponse |
EndpointBasedClient.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context,
ByteBuffer sent,
ByteBuffer received)
|
void |
X500Server.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
|
void |
X500Client.encodeMulticastRequest(MulticastRequest request,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
|
private EndpointBasedClient.ConnectionInfo |
EndpointBasedClient.getConnectionInfo(Socket socket,
InvocationConstraints constraints)
Returns components needed to initiate a connection over the given socket in accordance with the specified constraints. |
protected abstract Endpoint |
EndpointBasedClient.getEndpoint(SocketFactory factory,
InvocationConstraints constraints)
Returns an endpoint which uses the given socket factory, if non-null, and may incorporate information (such as the expected server principal) from the given set of constraints, if non-null. |
UnicastResponse |
MultiIPDiscovery.getResponse(String host,
int port,
InvocationConstraints constraints)
|
void |
EndpointBasedServer.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context,
ByteBuffer received,
ByteBuffer sent)
|
(package private) static X500Constraints |
X500Constraints.process(InvocationConstraints constraints,
boolean request)
Returns X500Constraints instance representing the processed constraints. |
Constructors in com.sun.jini.discovery.internal with parameters of type InvocationConstraints | |
---|---|
X500Client.X500MulticastAnnouncement(MulticastAnnouncement plainMA,
InvocationConstraints constraints,
X500Principal p,
ByteBuffer signature,
ByteBuffer signed)
|
|
X500Constraints(InvocationConstraints distilled)
|
|
X500Server.X500MulticastRequest(MulticastRequest plainMR,
InvocationConstraints constraints,
X500Principal p,
ByteBuffer signature,
ByteBuffer signed,
ClientSubjectChecker checker)
|
Uses of InvocationConstraints in com.sun.jini.discovery.kerberos |
---|
Methods in com.sun.jini.discovery.kerberos with parameters of type InvocationConstraints | |
---|---|
void |
Server.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
|
void |
Client.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
|
UnicastResponse |
Client.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context,
ByteBuffer sent,
ByteBuffer received)
|
protected Endpoint |
Client.ClientImpl.getEndpoint(SocketFactory factory,
InvocationConstraints constraints)
|
private static KerberosPrincipal |
Client.ClientImpl.getKerberosPrincipal(InvocationConstraints constraints)
Returns the kerberos principal specified in the ServerMinPrincipal requirements or preferences of the given constraints. |
void |
Server.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context,
ByteBuffer received,
ByteBuffer sent)
|
Uses of InvocationConstraints in com.sun.jini.discovery.plaintext |
---|
Uses of InvocationConstraints in com.sun.jini.discovery.ssl |
---|
Methods in com.sun.jini.discovery.ssl with parameters of type InvocationConstraints | |
---|---|
void |
Server.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
|
void |
Client.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
|
UnicastResponse |
Client.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context,
ByteBuffer sent,
ByteBuffer received)
|
protected Endpoint |
Client.ClientImpl.getEndpoint(SocketFactory factory,
InvocationConstraints constraints)
|
void |
Server.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context,
ByteBuffer received,
ByteBuffer sent)
|
Uses of InvocationConstraints in com.sun.jini.discovery.x500.sha1withdsa |
---|
Methods in com.sun.jini.discovery.x500.sha1withdsa with parameters of type InvocationConstraints | |
---|---|
MulticastAnnouncement |
Client.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints)
|
MulticastAnnouncement |
Client.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints,
boolean delayConstraintCheck)
|
MulticastRequest |
Server.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker)
|
MulticastRequest |
Server.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
|
void |
Server.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
|
void |
Client.encodeMulticastRequest(MulticastRequest request,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
|
Uses of InvocationConstraints in com.sun.jini.discovery.x500.sha1withrsa |
---|
Methods in com.sun.jini.discovery.x500.sha1withrsa with parameters of type InvocationConstraints | |
---|---|
MulticastAnnouncement |
Client.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints)
|
MulticastAnnouncement |
Client.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints,
boolean delayConstraintCheck)
|
MulticastRequest |
Server.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker)
|
MulticastRequest |
Server.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
|
void |
Server.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
|
void |
Client.encodeMulticastRequest(MulticastRequest request,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
|
Uses of InvocationConstraints in com.sun.jini.jeri.internal.http |
---|
Methods in com.sun.jini.jeri.internal.http that return InvocationConstraints | |
---|---|
protected InvocationConstraints |
HttpServerConnection.checkConstraints(InvocationConstraints constraints)
Checks that the specified requirements are either fully or partially satisfied by the constraints actually in force for this connection, 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 |
HttpServerConnection.InboundRequestImpl.checkConstraints(InvocationConstraints constraints)
|
InvocationConstraints |
HttpClientConnection.OutboundRequestImpl.getUnfulfilledConstraints()
|
Methods in com.sun.jini.jeri.internal.http with parameters of type InvocationConstraints | |
---|---|
protected InvocationConstraints |
HttpServerConnection.checkConstraints(InvocationConstraints constraints)
Checks that the specified requirements are either fully or partially satisfied by the constraints actually in force for this connection, 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 |
HttpServerConnection.InboundRequestImpl.checkConstraints(InvocationConstraints constraints)
|
Uses of InvocationConstraints in com.sun.jini.jeri.internal.mux |
---|
Methods in com.sun.jini.jeri.internal.mux that return InvocationConstraints | |
---|---|
protected InvocationConstraints |
MuxServer.checkConstraints(InvocationConstraints constraints)
Checks that the specified requirements are either fully or partially satisfied by the constraints actually in force for this connection, and returns any constraints that must be fully or partially implemented by higher layers in order to fully satisfy all of the specified requirements. |
Methods in com.sun.jini.jeri.internal.mux with parameters of type InvocationConstraints | |
---|---|
protected InvocationConstraints |
MuxServer.checkConstraints(InvocationConstraints constraints)
Checks that the specified requirements are either fully or partially satisfied by the constraints actually in force for this connection, and returns any constraints that must be fully or partially implemented by higher layers in order to fully satisfy all of the specified requirements. |
Uses of InvocationConstraints in com.sun.jini.phoenix |
---|
Methods in com.sun.jini.phoenix with parameters of type InvocationConstraints | |
---|---|
protected void |
SystemAccessILFactory.SystemDispatcher.checkAccess(Remote impl,
Method method,
InvocationConstraints constraints,
Collection context)
Checks that the client is calling from the local host. |
protected void |
AccessILFactory.AccessDispatcher.checkAccess(Remote impl,
Method method,
InvocationConstraints constraints,
Collection context)
Checks that the client is calling from the local host. |
Uses of InvocationConstraints in com.sun.jini.reggie |
---|
Fields in com.sun.jini.reggie declared as InvocationConstraints | |
---|---|
private InvocationConstraints |
RegistrarImpl.rawUnicastDiscoveryConstraints
Cached raw constraints associated with unicastDiscovery method |
Uses of InvocationConstraints in net.jini.constraint |
---|
Fields in net.jini.constraint declared as InvocationConstraints | |
---|---|
(package private) InvocationConstraints |
BasicMethodConstraints.MethodDesc.constraints
The non-empty constraints for the specified method or methods, or null if there are no constraints. |
Methods in net.jini.constraint that return InvocationConstraints | |
---|---|
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. |
Constructors in net.jini.constraint with parameters of type InvocationConstraints | |
---|---|
BasicMethodConstraints.MethodDesc(InvocationConstraints constraints)
Creates a default descriptor that matches all methods. |
|
BasicMethodConstraints.MethodDesc(String name,
Class[] types,
InvocationConstraints constraints)
Creates a descriptor that only matches methods with exactly the specified name and parameter types. |
|
BasicMethodConstraints.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. |
|
BasicMethodConstraints(InvocationConstraints constraints)
Creates an instance that maps all methods to the specified constraints. |
Uses of InvocationConstraints in net.jini.core.constraint |
---|
Fields in net.jini.core.constraint declared as InvocationConstraints | |
---|---|
static InvocationConstraints |
InvocationConstraints.EMPTY
An empty instance, one that has no requirements and no preferences. |
Methods in net.jini.core.constraint that return InvocationConstraints | |
---|---|
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. |
Methods in net.jini.core.constraint with parameters of type InvocationConstraints | |
---|---|
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. |
Uses of InvocationConstraints in net.jini.discovery |
---|
Fields in net.jini.discovery declared as InvocationConstraints | |
---|---|
private InvocationConstraints |
LookupDiscovery.rawUnicastDiscoveryConstraints
|
Methods in net.jini.discovery with parameters of type InvocationConstraints | |
---|---|
private void |
LookupLocatorDiscovery.LocatorReg.doUnicastDiscovery(LookupLocator locator,
InvocationConstraints ic)
This method employs the unicast discovery protocol to discover the registrar having LookupLocator equal to the value
contained in the locator parameter of this class. |
private ServiceRegistrar |
ConstrainableLookupLocator.getRegistrar(InvocationConstraints constraints)
|
Uses of InvocationConstraints in net.jini.jeri |
---|
Fields in net.jini.jeri declared as InvocationConstraints | |
---|---|
private InvocationConstraints[] |
BasicInvocationHandler.constraintCache
method constraint cache values (unused entries are null) |
Methods in net.jini.jeri that return InvocationConstraints | |
---|---|
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. |
private InvocationConstraints |
BasicInvocationHandler.getConstraints(Method method)
Returns the combined absolute client and server constraints for the specified method, getting the constraints from the cache if possible, and creating and updating the cache if necessary. |
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. |
Methods in net.jini.jeri with parameters of type InvocationConstraints | |
---|---|
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. |
private static void |
BasicInvocationDispatcher.checkConstraints(ServerCapabilities serverCapabilities,
InvocationConstraints constraints)
Check that the only unfulfilled requirement is Integrity. |
private Object |
BasicInvocationHandler.invokeRemoteMethodOnce(Object proxy,
Method method,
Object[] args,
OutboundRequestIterator iter,
InvocationConstraints constraints)
Make one attempt to invoke a remote method. |
private void |
BasicInvocationHandler.logCall(Method method,
Object[] args,
InvocationConstraints constraints)
Log the start of an outbound remote call. |
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 |
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 |
Endpoint.newRequest(InvocationConstraints constraints)
Returns an OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
Uses of InvocationConstraints in net.jini.jeri.connection |
---|
Methods in net.jini.jeri.connection that return InvocationConstraints | |
---|---|
InvocationConstraints |
ServerConnection.checkConstraints(InboundRequestHandle handle,
InvocationConstraints constraints)
Implements InboundRequest.checkConstraints for a request with the
specified handle. |
InvocationConstraints |
ServerConnectionManager.Inbound.checkConstraints(InvocationConstraints constraints)
|
InvocationConstraints |
ConnectionManager.Outbound.getUnfulfilledConstraints()
|
InvocationConstraints |
Connection.getUnfulfilledConstraints(OutboundRequestHandle handle)
Implements OutboundRequest.getUnfulfilledConstraints for a request with
the specified handle. |
Methods in net.jini.jeri.connection with parameters of type InvocationConstraints | |
---|---|
InvocationConstraints |
ServerConnection.checkConstraints(InboundRequestHandle handle,
InvocationConstraints constraints)
Implements InboundRequest.checkConstraints for a request with the
specified handle. |
InvocationConstraints |
ServerConnectionManager.Inbound.checkConstraints(InvocationConstraints constraints)
|
Uses of InvocationConstraints in net.jini.jeri.http |
---|
Methods in net.jini.jeri.http that return InvocationConstraints | |
---|---|
(package private) static InvocationConstraints |
Constraints.check(InvocationConstraints constraints,
boolean relativeOK)
Checks that we support at least the transport layer aspects of the given requirements (and throws an UnsupportedConstraintException if not), and returns the requirements that must be at least partially implemented by higher layers and the supported preferences that must be at least partially implemented by higher layers. |
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. |
protected InvocationConstraints |
HttpServerEndpoint.LH.Connection.checkConstraints(InvocationConstraints constraints)
|
(package private) InvocationConstraints |
Constraints.Distilled.getUnfulfilledConstraints()
Returns the requirements and supported preferences that must be at least partially implemented by higher layers. |
Methods in net.jini.jeri.http with parameters of type InvocationConstraints | |
---|---|
(package private) static InvocationConstraints |
Constraints.check(InvocationConstraints constraints,
boolean relativeOK)
Checks that we support at least the transport layer aspects of the given requirements (and throws an UnsupportedConstraintException if not), and returns the requirements that must be at least partially implemented by higher layers and the supported preferences that must be at least partially implemented by higher layers. |
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. |
protected InvocationConstraints |
HttpServerEndpoint.LH.Connection.checkConstraints(InvocationConstraints constraints)
|
(package private) static Constraints.Distilled |
Constraints.distill(InvocationConstraints constraints,
boolean relativeOK)
Distills the given constraints to a form more directly usable by this provider. |
OutboundRequestIterator |
HttpEndpoint.newRequest(InvocationConstraints constraints)
Returns an OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
private OutboundRequest |
HttpEndpoint.nextRequest(InvocationConstraints constraints)
|
Constructors in net.jini.jeri.http with parameters of type InvocationConstraints | |
---|---|
Constraints.Distilled(InvocationConstraints constraints,
boolean relativeOK)
|
Uses of InvocationConstraints in net.jini.jeri.kerberos |
---|
Fields in net.jini.jeri.kerberos declared as InvocationConstraints | |
---|---|
private InvocationConstraints |
KerberosEndpoint.RequestHandleImpl.constraints
Constraints of this request handle |
private InvocationConstraints |
KerberosEndpoint.CacheKey.constraints
|
private InvocationConstraints |
KerberosServerEndpoint.ServerConnectionImpl.CacheKey.constraints
|
(package private) static InvocationConstraints |
KerberosUtil.INTEGRITY_PREFERRED_CONSTRAINTS
|
private static InvocationConstraints |
KerberosServerEndpoint.INTEGRITY_PREFERRED_CONSTRAINTS
Static constraints will be used for unfulfilledConstraints |
(package private) static InvocationConstraints |
KerberosUtil.INTEGRITY_REQUIRED_CONSTRAINTS
|
private static InvocationConstraints |
KerberosServerEndpoint.INTEGRITY_REQUIRED_CONSTRAINTS
Static constraints will be used for unfulfilledConstraints |
private InvocationConstraints |
KerberosEndpoint.RequestHandleImpl.unfulfilledConstraints
Constraints that must be partially or fully implemented by higher layers for an outbound request using this handle. |
Methods in net.jini.jeri.kerberos that return InvocationConstraints | |
---|---|
InvocationConstraints |
KerberosServerEndpoint.ServerConnectionImpl.checkConstraints(InboundRequestHandle handle,
InvocationConstraints constraints)
|
InvocationConstraints |
KerberosServerEndpoint.checkConstraints(InvocationConstraints constraints)
|
InvocationConstraints |
KerberosEndpoint.KerberosEndpointInternals.getUnfulfilledConstraints(OutboundRequestHandle handle)
|
InvocationConstraints |
KerberosEndpoint.ConnectionImpl.getUnfulfilledConstraints(OutboundRequestHandle handle)
|
Methods in net.jini.jeri.kerberos with parameters of type InvocationConstraints | |
---|---|
InvocationConstraints |
KerberosServerEndpoint.ServerConnectionImpl.checkConstraints(InboundRequestHandle handle,
InvocationConstraints constraints)
|
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. |
Constructors in net.jini.jeri.kerberos with parameters of type InvocationConstraints | |
---|---|
KerberosEndpoint.CacheKey(Subject subject,
InvocationConstraints constraints)
Construct a Key object |
|
KerberosEndpoint.RequestHandleImpl(Subject clientSubject,
InvocationConstraints constraints)
Construct a RequestHandleImpl . |
|
KerberosServerEndpoint.ServerConnectionImpl.CacheKey(KerberosServerEndpoint.ServerConnectionImpl.InboundRequestHandleImpl handle,
InvocationConstraints constraints)
Construct a Key object |
Uses of InvocationConstraints in net.jini.jeri.ssl |
---|
Fields in net.jini.jeri.ssl declared as InvocationConstraints | |
---|---|
(package private) InvocationConstraints |
SslEndpointImpl.ConnectionContextCache.constraints
|
(package private) static InvocationConstraints |
Utilities.INTEGRITY_PREFERRED
Constraints that prefer Integrity.YES. |
(package private) static InvocationConstraints |
Utilities.INTEGRITY_REQUIRED
Constraints that require Integrity.YES. |
Methods in net.jini.jeri.ssl that return InvocationConstraints | |
---|---|
InvocationConstraints |
SslServerEndpointImpl.SslServerConnection.checkConstraints(InboundRequestHandle requestHandle,
InvocationConstraints constraints)
|
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. |
(package private) InvocationConstraints |
SslServerEndpointImpl.checkConstraints(InvocationConstraints constraints)
|
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. |
protected InvocationConstraints |
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpServer.checkConstraints(InvocationConstraints constraints)
Not called -- handled by inbound request |
InvocationConstraints |
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsInboundRequest.checkConstraints(InvocationConstraints constraints)
|
InvocationConstraints |
HttpsEndpoint.HttpsOutboundRequest.getUnfulfilledConstraints()
|
(package private) InvocationConstraints |
CallContext.getUnfulfilledConstraints()
Returns any constraints that must be partially or fully implemented by higher layers for this outbound request. |
InvocationConstraints |
SslConnection.getUnfulfilledConstraints(OutboundRequestHandle handle)
|
InvocationConstraints |
SslEndpoint.SslEndpointInternals.getUnfulfilledConstraints(OutboundRequestHandle handle)
|
(package private) static InvocationConstraints |
SslServerEndpointImpl.getUnfulfilledConstraints(String cipherSuite,
Principal client,
Principal server,
InvocationConstraints constraints)
Returns null if the constraints are not supported, else any integrity constraints required or preferred by the arguments. |
Methods in net.jini.jeri.ssl with parameters of type InvocationConstraints | |
---|---|
InvocationConstraints |
SslServerEndpointImpl.SslServerConnection.checkConstraints(InboundRequestHandle requestHandle,
InvocationConstraints constraints)
|
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. |
(package private) InvocationConstraints |
SslServerEndpointImpl.checkConstraints(InvocationConstraints constraints)
|
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. |
protected InvocationConstraints |
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpServer.checkConstraints(InvocationConstraints constraints)
Not called -- handled by inbound request |
InvocationConstraints |
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsInboundRequest.checkConstraints(InvocationConstraints constraints)
|
private static List |
SslEndpointImpl.checkSubject(List contexts,
Subject clientSubject,
boolean constrainedServer,
InvocationConstraints constraints)
Returns a list of the contexts which are supported by principals and credentials in the Subject. |
private static List |
SslEndpointImpl.computeConnectionContexts(String[] suites,
Set clients,
Set servers,
InvocationConstraints constraints)
Computes a list of ConnectionContexts for the specified set of suites, client and server principals, and constraints, sorted by preferences and suite order. |
private CallContext |
SslEndpointImpl.getCallContext(InvocationConstraints constraints)
Returns a context for making a remote call with the specified constraints and the current subject. |
(package private) static Set |
Utilities.getClientPrincipals(InvocationConstraints constraints)
Returns all client principals referred to by the constraints or null if no client principal constraints are specified. |
private List |
SslEndpointImpl.getConnectionContexts(InvocationConstraints constraints,
Set clientPrincipals)
Gets an unmodifiable list of the ConnectionContexts for the specified constraints and client principals. |
(package private) static ConnectionContext |
ConnectionContext.getInstance(String cipherSuite,
Principal client,
Principal server,
boolean integrity,
boolean clientSide,
InvocationConstraints constraints)
Creates an instance that represents using the specified cipher suite, client and server principals, whether to guarantee codebase integrity, and constraints. |
private static Set |
Utilities.getPrincipals(InvocationConstraints constraints,
boolean client)
Implements getClientPrincipals or getServerPrincipals. |
(package private) static Set |
Utilities.getServerPrincipals(InvocationConstraints constraints)
Returns all server principals referred to by the constraints or null if no server principal constraints are specified. |
(package private) static InvocationConstraints |
SslServerEndpointImpl.getUnfulfilledConstraints(String cipherSuite,
Principal client,
Principal server,
InvocationConstraints constraints)
Returns null if the constraints are not supported, else any integrity constraints required or preferred by the arguments. |
OutboundRequestIterator |
HttpsEndpoint.newRequest(InvocationConstraints constraints)
Returns an OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
OutboundRequestIterator |
SslEndpoint.newRequest(InvocationConstraints constraints)
Returns an OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
(package private) OutboundRequestIterator |
SslEndpointImpl.newRequest(InvocationConstraints constraints)
Implements Endpoint.newRequest |
private boolean |
ConnectionContext.supported(InvocationConstraints constraints)
Checks if the specified constraints are supported, computing integrityRequired, integrityPreferred, connectionTime and preferences as a side effect. |
Constructors in net.jini.jeri.ssl with parameters of type InvocationConstraints | |
---|---|
SslEndpointImpl.ConnectionContextCache(InvocationConstraints constraints,
Set clientPrincipals,
List connectionContexts)
|
Uses of InvocationConstraints in net.jini.jeri.tcp |
---|
Methods in net.jini.jeri.tcp that return InvocationConstraints | |
---|---|
(package private) static InvocationConstraints |
Constraints.check(InvocationConstraints constraints,
boolean relativeOK)
Checks that we support at least the transport layer aspects of the given requirements (and throws an UnsupportedConstraintException if not), and returns the requirements that must be at least partially implemented by higher layers and the supported preferences that must be at least partially implemented by higher layers. |
InvocationConstraints |
TcpServerEndpoint.LH.ServerConnectionImpl.checkConstraints(InboundRequestHandle handle,
InvocationConstraints constraints)
|
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. |
(package private) InvocationConstraints |
Constraints.Distilled.getUnfulfilledConstraints()
Returns the requirements and supported preferences that must be at least partially implemented by higher layers. |
(package private) InvocationConstraints |
TcpEndpoint.Handle.getUnfulfilledConstraints()
|
InvocationConstraints |
TcpEndpoint.ConnectionImpl.getUnfulfilledConstraints(OutboundRequestHandle handle)
|
Methods in net.jini.jeri.tcp with parameters of type InvocationConstraints | |
---|---|
(package private) static InvocationConstraints |
Constraints.check(InvocationConstraints constraints,
boolean relativeOK)
Checks that we support at least the transport layer aspects of the given requirements (and throws an UnsupportedConstraintException if not), and returns the requirements that must be at least partially implemented by higher layers and the supported preferences that must be at least partially implemented by higher layers. |
InvocationConstraints |
TcpServerEndpoint.LH.ServerConnectionImpl.checkConstraints(InboundRequestHandle handle,
InvocationConstraints constraints)
|
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. |
(package private) static Constraints.Distilled |
Constraints.distill(InvocationConstraints constraints,
boolean relativeOK)
Distills the given constraints to a form more directly usable by this provider. |
OutboundRequestIterator |
TcpEndpoint.newRequest(InvocationConstraints constraints)
Returns an OutboundRequestIterator to use to send
a new request to this remote endpoint using the specified
constraints. |
Constructors in net.jini.jeri.tcp with parameters of type InvocationConstraints | |
---|---|
Constraints.Distilled(InvocationConstraints constraints,
boolean relativeOK)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |