|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Configuration
interface, used
to simplify writing implementations. Entry
that provides useful
implementations of equals
, hashCode
, and
toString
. InvocationLayerFactory
that
provides a convenient way for subclasses to create proxies and
invocation dispatchers for remote objects. AbstractILFactory
instance with a
null
class loader.
AbstractILFactory
instance with the
specified class loader.
AcknowledgmentSource
server context element to handle the
receipt of an acknowledgment that the remote call's result data
has been processed by the client.null
underlying proxy, and null
client constraints.
Exporter
implementation for exporting an activatable
remote object using its underlying exporter. null
class loader.
java.rmi.activation.ActivationGroup
to allow activatable objects that
are exported using an Exporter
to go inactive.
RemoteEvent
marking the transition of an
Entry
from unavailable to
available
.AvailabilityEvent
instance.
listenEndpoint
to this
ListenContext
's collection of
ListenEndpoint
instances for the
ServerEndpoint
it was passed to, starts a
listen operation on listenEndpoint
if
necessary, and returns the ListenCookie
for an
active listen operation on listenEndpoint
.
cl
.
cl
.
InvocationLayerFactory
. BasicILFactory
instance with no server
constraints, no permission class, and a null
class
loader.
BasicILFactory
with the specified server
constraints, permission class, and a null
class
loader.
BasicILFactory
with the specified server
constraints, permission class, and class loader.
InvocationDispatcher
interface,
providing preinvocation access control for
remote objects exported using BasicJeriExporter
.
InvocationHandler
interface.
BasicInvocationHandler
with the
specified ObjectEndpoint
and server constraints.
BasicInvocationHandler
with the
specified client constraints and with the same
ObjectEndpoint
and server constraints as the given
other BasicInvocationHandler
.
Exporter
implementation for exporting
a remote object to use Jini extensible remote invocation
(Jini ERI). BasicJeriExporter
with the given server
endpoint and invocation layer factory.
BasicJeriExporter
with the given server
endpoint, invocation layer factory, enableDGC
flag, and
keepAlive
flag.
BasicJeriExporter
with the given server
endpoint, invocation layer factory, enableDGC
flag,
keepAlive
flag, and object identifier.
MethodConstraints
, allowing limited
wildcard matching on method names and parameter types. Endpoint
for
sending requests to the object and a Uuid
to identify
the object at that Endpoint
.
BasicObjectEndpoint
to reference a
remote object at the specified Endpoint
with the
specified Uuid
.
ProxyPreparer
for verifying that proxies are trusted,
granting them dynamic permissions, and setting their constraints, as well as
for creating other proxy preparer subclasses that include those
operations. RMIClassLoader
with optional verification that the codebase URLs
used to load classes provide content integrity (see Security.verifyCodebaseIntegrity
).Exporter
or ProxyPreparer
instances, or other
application-specific objects, from configuration files, databases, or other
sources. Error
.
Exporter
or ProxyPreparer
instances, or application-specific objects,
constructed from data in a configuration source and override options, as
well as data supplied in the call to getEntry
. Configuration
is not found, including if null
is
specified for provider options and the implementation does not provide
default options. Error
.
Configuration
instances,
using a configurable provider. ConnectionManager
that manages
client-side connections to the specified connection endpoint.
net.jini.core.constraint
package, and for the
BasicMethodConstraints
, X500Principal
and
KerberosPrincipal
classes. ServerContext
and
ObjectStreamContext
.
InboundRequest.checkConstraints
for a request with the
specified handle.
For any given constraint, there must be a clear delineation
of which aspects (if any) must be implemented by the transport
layer. This method must not return a constraint (as a
requirement or a preference, directly or as an element of
another constraint) unless this instance can implement all of
those aspects. Also, this method must not return a constraint
for which all aspects must be implemented by the transport
layer. Most of the constraints in the net.jini.core.constraint
package must be fully implemented by
the transport layer and thus must not be returned by this
method; the one exception is Integrity
, for which the
transport layer is responsible for the data integrity aspect
and higher layers are responsible for the code integrity
aspect.
For any ConstraintAlternatives
in the specified
constraints, this method should only return a corresponding
constraint if all of the alternatives supported by this
instance need to be at least partially implemented by higher
layers in order to be fully satisfied.
The constraints passed to this method may include constraints based on relative time.
For any given constraint, there must be a clear delineation
of which aspects (if any) must be implemented by the transport
layer. This method must not return a constraint (as a
requirement or a preference, directly or as an element of
another constraint) unless this instance can implement all of
those aspects. Also, this method must not return a constraint
for which all aspects must be implemented by the transport
layer. Most of the constraints in the net.jini.core.constraint
package must be fully implemented by
the transport layer and thus must not be returned by this
method; the one exception is Integrity
, for which the
transport layer is responsible for the data integrity aspect
and higher layers are responsible for the code integrity
aspect.
For any ConstraintAlternatives
in the specified
constraints, this method should only return a corresponding
constraint if all of the alternatives supported by this
instance need to be at least partially implemented by higher
layers in order to be fully satisfied.
The constraints passed to this method may include constraints based on relative time.
true
if the specified invocation handler's
constraints and object endpoint are trusted; returns
false
otherwise.
ListenEndpoint
.
InboundRequest.checkPermissions
for a request with the
specified handle.
true
if the specified object (which is not
yet known to be trusted) is equivalent in trust, content, and
function to this known trusted object, and false
otherwise.
true
if the specified object (which is not
yet known to be trusted) is equivalent in trust, content, and
function to this known trusted object, and false
otherwise.
true
if the specified object (which is not
yet known to be trusted) is equivalent in trust, content, and
function to this known trusted object, and false
otherwise.
true
if the specified object (which is not
yet known to be trusted) is equivalent in trust, content, and
function to this known trusted object, and false
otherwise.
true
if the argument is an instance of
KerberosEndpoint
with the same values for server
principal, server host, and port; and either both this instance
and the argument have null
socket factories, or
the factories have the same actual class and are equal; and
returns false
otherwise.
true
if the argument is an instance of
HttpsEndpoint
with the same values for server host and
port; and either both this instance and the argument have
null
socket factories, or the factories have the same
actual class and are equal; and returns false
otherwise.
true
if the argument is an instance of
SslEndpoint
with the same values for server host and port;
and either both this instance and the argument have null
socket factories, or the factories have the same actual class and are
equal; and returns false
otherwise.
true
if the specified object (which is not
yet known to be trusted) is equivalent in trust, content, and
function to this known trusted object, and false
otherwise.
true
if the argument is an instance of this
class, and calling the checkTrustEquivalence
method on
the main proxy of this invocation handler, passing the main proxy of
the argument, returns true
, and calling the
checkTrustEquivalence
method on the bootstrap proxy of
this invocation handler, passing the bootstrap proxy of the argument,
returns true
, and returns false
otherwise.
true
if the specified object (that is not yet
known to be trusted) is equivalent in trust, content, and function to
this known trusted object, and returns false
otherwise.
ListenEndpoint
.
null
argument added as requirements and has all
of the preferences from each non-null
argument added as
preferences.
true
if the two passed objects are
non-null
, implement ReferentUuid
and
their getReferentUuid
methods return equivalent
Uuid
s, or if they are both null
.
null
if a
new connection needs to be created in a way that requires
synchronous I/O.
Transaction
and remain visible for the lifetime of the
match set.
MarshalledObject
that will
contain an object equivalent to the object contained
in this MarshalledInstance
object.
Uuid
with the specified 128-bit
value.
Uuid
with the 128-bit value
represented by the specified string.
PreferredClassProvider
to use to load classes from
the specified path of URLs with the specified delegation
parent.
InvocationLayerFactory.Instances
container object. The proxy sends
calls to the remote object using the supplied
ObjectEndpoint
.
The returned proxy implements an implementation-specific set of
remote interfaces of impl
and may implement additional
implementation-specific interfaces.
A given Exporter
implementation should only call this
method once per export. An invocation dispatcher constructed for a
previous export should not be reused.
AbstractILFactory
implements this method to return a
Proxy
instance where:
If the class loader specified during construction is not
null
, the proxy's class is defined by the specified
loader.
Proxy
instance
implementing the specified interfaces, communicating with the
specified remote object using the specified object endpoint.
Proxy
instance
implementing the specified interfaces, communicating with the
specified remote object using the specified object endpoint.
getRequestInputStream
method
on the given request
.
ObjectInputStream
instance to use to read
objects from the response input stream obtained by invoking the getResponseInputStream
method
on the given request
.
getResponseOutputStream
method on the given request
.
ObjectOutputStream
instance to use to write
objects to the request output stream obtained by invoking the getRequestOutputStream
method
on the given request
.
CodeSource
of a
downloaded class in order for the class to be defined using RMIClassLoader
.
DownloadPermission
with the name
"permit".
DynamicPolicyProvider
instance that wraps a
default underlying policy.
DynamicPolicyProvider
instance that wraps
around the given non-null
base policy object.
InboundRequest
to the specified remote object.
run
method with privileges
enabled, preserving the domain combiner (if any) of the calling context.
run
method with privileges
enabled, preserving the domain combiner (if any) of the calling context.
context
collection and invokes the run
method
of the supplied runnable
object.
Configuration
with no entries. Exporter
implementations.
ServerEndpoint
by passing the
ListenEndpoint
for each of them to
listenContext
, which will ensure an active listen
operation on each endpoint, and returns an
Endpoint
instance corresponding to the listen
operations chosen by listenContext
.
ListenEndpoint
for this HttpServerEndpoint
to
listenContext
, which will ensure an active listen
operation on the endpoint, and returns an
HttpEndpoint
instance corresponding to the listen
operation chosen by listenContext
.
ListenEndpoint
for this KerberosServerEndpoint
to
listenContext
, which will ensure an active listen
operation on the endpoint, and returns a KerberosEndpoint
instance corresponding to the listen operation chosen by
listenContext
.
ListenEndpoint
for this HttpsServerEndpoint
to
listenContext
, which will ensure an active listen
operation on the endpoint, and returns an HttpsEndpoint
instance corresponding to the listen operation chosen by
listenContext
.
ListenEndpoint
for this SslServerEndpoint
to
listenContext
, which will ensure an active listen
operation on the endpoint, and returns an SslEndpoint
instance corresponding to the listen operation chosen by
listenContext
.
ListenEndpoint
for this TcpServerEndpoint
to
listenContext
, which will ensure an active listen
operation on the endpoint, and returns a
TcpEndpoint
instance corresponding to the listen
operation chosen by listenContext
.
ActivatableInvocationHandler
for equality.
true
if the argument is a
Primitive
for which the result of calling
getValue
is the same as the value for this instance,
otherwise false
.
AbstractEntry
to the specified
object.
true
if the two arguments are of the same
class and for each entry field F, the arguments'
values for F are either both null
or the
invocation of equals
on one argument's value for
F with the other argument's value for F as
its parameter returns true
.
Uuid
for
equality.
MarshalledInstance
to another
object.
BasicInvocationHandler
for equality.
BasicObjectEndpoint
for equality.
HttpEndpoint
for equality.
HttpServerEndpoint
for equality.
null
or have the same actual class and
are equal.
==
; have the
same server principal; have the same values for server host and
port; have socket factories that are either both
null
, or have the same actual class and are equal;
and have server socket factories that are either both
null
, or have the same actual class and are equal.
null
, or have the same actual class and are equal.
==
; have server principals that are
either both null
or are equal when compared as the elements
of a Set
; have the same values for server host and port; have
socket factories that are either both null
, or have the
same actual class and are equal; and have server socket factories that
are either both null
, or have the same actual class and are
equal.
null
, or have the same actual class and are equal.
==
; have server principals that are
either both null
or are equal when compared as the elements
of a Set
; have the same values for server host and port; have
socket factories that are either both null
, or have the
same actual class and are equal; and have server socket factories
that are either both null
, or have the same actual class
and are equal.
TcpEndpoint
for equality.
TcpServerEndpoint
for equality.
true
if the specified object is an instance
of the same class as this permission and has the same target name
as this permission; returns false
otherwise.
listen
) every principal that matches the
peer principals of one instance matches the peer principals of the
other instance.
true
if the given object is an instance of the same
class as this object, with the same value for verify
, with
method constraints that are equals
or similarly not
specified, and with permissions
containing the same
elements, independent of order.
true
if the given object is a
GrantPermission
which both implies and is implied by this
permission; returns false
otherwise.
true
if the specified object and this object
are both instances of this class that were constructed with equivalent
arguments.
Permission.equals(java.lang.Object)
.
true
if the specified object and this object
are both instances of this class that were constructed with equivalent
permissions.
true
if the argument is an instance of this
class with the same main proxy and the same bootstrap proxy, and
false
otherwise.
This method should be passed an OutboundRequest
that was produced by an OutboundRequestIterator
returned from this object's newCall
method.
This method must be invoked after writing the request data to
and before reading any response data from the
OutboundRequest
.
If the remote call was successfully executed (such that the
response data may now be read) this method returns
null
. This method returns a non-null
RemoteException
to indicate a
RemoteException
that the remote call should fail
with. For example, if the referenced object does not exist at
the remote endpoint, a NoSuchObjectException
will be
returned. This method throws an IOException
for
other communication failures.
This method reads a byte from the response input stream of
call
.
impl
, to the RMI-IIOP runtime and
returns a proxy (stub) for the remote object.
impl
, to the JRMP runtime and
returns a proxy (stub) for the remote object.
finalize
method.
MarshalledInstance
to another
object.
DynamicPolicy
interface. GrantPermission
for the permission(s) specified
in the name string.
GrantPermission
for the given permission.
GrantPermission
for the given permissions.
Uuid
with 122 bits of its value
produced from a cryptographically strong random sequence.
GrantPermission
is always the empty string
""
.
Permission.getActions()
.
null
if activation is not being used with this
exporter.
null
if there is no exception associated with this error.
null
if no socket channel is available.
null
if no socket channel is available.
null
.
PreferredClassLoader
implements this method as
follows:
If this PreferredClassLoader
was constructed
with a non-null
export class annotation string,
then this method returns that string.
RMIClassLoaderSpi.getClassAnnotation(Class)
.
RMIClassLoaderSpi.getClassLoader(String)
.
BasicInvocationHandler
's client
constraints.
null
if none (in which case Socket
objects
are created directly).
null
if the client was not authenticated.
null
value.
null
value.
null
value.
ListenCookie
to identify the listen
operation as the return value of the ListenContext.addListenEndpoint
method.
80
.
false
if it is guaranteed that no data
written for this request has been processed by the recipient.
true
if DGC is enabled on the server endpoint to
the object corresponding to this exporter; otherwise
returns false
.
true
if this
BasicObjectEndpoint
participates in DGC and
false
otherwise.
Endpoint
for the referenced remote
object.
Collection
of the entries that could be
unmarshalled by the operation.
Configuration.NO_DEFAULT
.
Configuration.NO_DATA
), returning the default
value if no matching entry is found and the default value is not Configuration.NO_DEFAULT
.
Configuration.NO_DEFAULT
.
Configuration.NO_DATA
), returning the default
value if no matching entry is found and the default value is not Configuration.NO_DEFAULT
.
Entry
whose transition
triggered this event.
impl
to the getRemoteInterfaces
method.
impl
to the getRemoteInterfaces
method.
HttpEndpoint
connects to.
HttpEndpoint
instances produced by listening on
this HttpServerEndpoint
, or null
if
the IP address string obtained from InetAddress.getLocalHost
will be
used.
KerberosEndpoint
instances created by listening on this
object.
HttpsEndpoint
instances created by listening on this object, or null
if
enumerateListenEndpoints
will
use the default server host.
SslEndpoint
instances
created by listening on this object, or null
if enumerateListenEndpoints
will use the default
server host.
TcpEndpoint
connects to.
TcpEndpoint
instances produced by listening on
this TcpServerEndpoint
, or null
if
the IP address string obtained from InetAddress.getLocalHost
will be
used.
HttpEndpoint
instance for the given host name
and TCP port number.
HttpEndpoint
instance for the given
host name and TCP port number that contains the given SocketFactory
.
HttpServerEndpoint
instance for the
given TCP port number.
HttpServerEndpoint
instance for the given
host name and TCP port number.
HttpServerEndpoint
instance for the
given host name and TCP port number that contains the given
SocketFactory
and
ServerSocketFactory
.
KerberosEndpoint
instance for the given
server host name, TCP port number, and server
principal.
KerberosEndpoint
instance for the given
server host name, TCP port number, server principal, and
SocketFactory
.
KerberosServerEndpoint
instance with the
specified port, using the default server subject, server
principal, and server host.
KerberosServerEndpoint
instance with the
specified server host and port, using the default server
subject and server principal.
KerberosServerEndpoint
instance with the
specified server host, port, and socket factories, using the
default server subject and server principal.
KerberosServerEndpoint
instance with the
specified server subject, server principal, server host, and
port.
KerberosServerEndpoint
instance with the
specified server subject, server principal, server host, port,
and socket factories.
TcpEndpoint
instance for the given
host name and TCP port number.
TcpEndpoint
instance for the given host
name and TCP port number that contains the given
SocketFactory
.
TcpServerEndpoint
instance for the given
TCP port number.
TcpServerEndpoint
instance for the given
host name and TCP port number.
TcpServerEndpoint
instance for the given
host name and TCP port number that contains the given
SocketFactory
and
ServerSocketFactory
.
Method
objects,
containing all remote methods for which the invocation
dispatcher should accept incoming remote calls.
InvocationLayerFactory
for this
exporter.
true
if the virtual machine is kept alive while
the object corresponding to this exporter is exported; otherwise
returns false
.
Lease
associated with this
match set, or null
if this match set is not
leased.
Uuid
's 128-bit value.
0
if this error
descriptor is not associated with a line number.
null
if location information is not available.
Uuid
's 128-bit value.
null
if this descriptor matches
all methods.
BasicInvocationHandler
's
ObjectEndpoint
.
0
if the error did not occur in an override.
null
if this
descriptor matches all parameter types or all methods.
CodeSource
and
defined by this class loader.
Policy.getPermissions(CodeSource)
.
Policy.getPermissions(ProtectionDomain)
.
Policy.getPermissions(CodeSource)
.
Policy.getPermissions(ProtectionDomain)
.
HttpEndpoint
connects to.
HttpServerEndpoint
listens on.
ListenEndpoint
s
created by this server endpoint listen on.
0
if it selects a free port.
0
if it selects a free port.
TcpEndpoint
connects to.
TcpServerEndpoint
listens on.
null
if it is anonymous.
null
if it is anonymous.
ProxyTrustVerifier
.
TrustVerifier
which can be used to verify that
a proxy can be trusted as a proxy for the service; that is, the
isTrustedObject
method of the
returned verifier can be called with a candidate proxy.
TrustVerifier
that can be used to verify that
a proxy can be trusted as a proxy for the service; that is, the
isTrustedObject
method of the
returned verifier can be called with a candidate proxy.
Uuid
that has been assigned to the
resource this proxy represents.
InputStream
to read the request data
from.
OutputStream
to write the request data
to.
InputStream
to read the response data
from.
OutputStream
to write the response data
to.
BasicInvocationHandler
's server
constraints.
null
if provider does not contain context for the
current thread.
ClientHost
interface whose
getClientHost
method
returns the client host if the current thread is handling a JRMP
remote call, or null
otherwise.
ServerContext.getServerContext
) that is an instance of the given
type type
.
ServerSocketFactory
that this endpoint
uses to create ServerSocket
objects.
ServerSocket
instances, or
null
if it uses default server sockets.
ServerSocket
instances, or null
if it uses
default server sockets.
ServerSocket
instances, or null
if it uses
default server sockets.
ServerSocketFactory
that this endpoint
uses to create ServerSocket
objects.
null
if none (in which case
java.net.ServerSocket
objects are created directly).
Entry
whose
transition triggered this event.
Entry
removed by
the last call to next
.
SocketFactory
that this endpoint uses to
create Socket
objects.
SocketFactory
that
HttpEndpoint
objects produced by listening on this
HttpServerEndpoint
will use to create
Socket
objects.
SocketFactory
that this endpoint uses
to create Socket
objects.
KerberosEndpoint
instances, which are created by listening on
the ListenEndpoint
instances of this server
endpoint, use to create Socket
instances, or
null
if they use default sockets.
Socket
instances, or null
if it uses default sockets.
HttpsEndpoint
instances created by listening on this server endpoint use to create
Socket
instances, or null
if they use default
sockets.
Socket
instances, or null
if it uses default sockets.
SslEndpoint
instances created by listening on this server endpoint use to create
Socket
instances, or null
if they use default
sockets.
SocketFactory
that this endpoint uses
to create Socket
objects.
SocketFactory
that
TcpEndpoint
objects produced by listening on this
TcpServerEndpoint
will use to create
Socket
objects.
OutboundRequest.getUnfulfilledConstraints
for a request with
the specified handle.
Collection
of UnusableEntryException
s
with one element for each Entry
that could not be
unmarshalled by the operation.
DynamicPolicy
interface, delegates to the security policy
provider to grant the specified permissions to all protection domains
(including ones not yet created) that are associated with the class
loader of the given class and possess at least the principals of the
current subject (if any).
DynamicPolicy
interface, delegates to the security policy
provider to grant the specified permissions to all protection domains
(including ones not yet created) that are associated with the class
loader of the given class and possess at least the given set of
principals.
DynamicPolicy
interface, takes the set of permissions dynamically
granted to the class loader of fromClass
with the current
subject's principals, determines which of those permissions the calling
context is authorized to grant, and dynamically grants that subset of
the permissions to the class loader of toClass
, qualified
with the current subject's principals.
true
if the installed security policy provider
supports dynamic permission grants--i.e., if it implements the DynamicPolicy
interface and calling its grantSupported
method returns
true
.
true
if this policy provider supports dynamic
permission grants; returns false
otherwise.
Endpoint
abstraction that uses HTTP
messages sent over TCP sockets (instances of Socket
) for the
underlying communication mechanism.
ServerEndpoint
abstraction that
uses HTTP messages sent over TCP sockets (instances of ServerSocket
) for the underlying communication mechanism.
Endpoint
that uses HTTPS (HTTP over TLS/SSL) to
support invocation constraints for communication through firewalls. ServerEndpoint
that uses HTTPS (HTTP over
TLS/SSL) to support invocation constraints for communication through
firewalls. true
if this iterator supports making at
least one more attempt to communicate the request, and
false
otherwise.
true
if the iteration has more elements, and
false
otherwise.
true
if the class loader of the specified dynamic
proxy's class is trusted by this verifier; returns false
otherwise.
true
if the specified dynamic proxy's class is
trusted by this verifier; returns false
otherwise.
AbstractEntry.hashCode(this)
.
hashCode
on each of the argument's
non-null
entry fields.
Uuid
.
MarshalledInstance
.
BasicObjectEndpoint
.
HttpEndpoint
.
HttpServerEndpoint
.
TcpEndpoint
.
TcpServerEndpoint
.
Permission.hashCode()
.
Configuration
with no entries.
IiopExporter
can be used to export a single remote object to
the RMI-IIOP
runtime. ServerConnection
.
Security.verifyCodebaseIntegrity
,
allowing the URLs that provide content integrity to be extended.JavaSpace
interface. req
,
added as a requirement if it is a non-null
value, and has
the second constraint, pref
, added as a preference if it
is a non-null
value and is not a duplicate of the
requirement.
reqs
, added as requirements if the array is a
non-null
value, and has all of the constraints from
the second array, prefs
, added as preferences if the
array is a non-null
value.
reqs
, added as requirements if the collection
is a non-null
value, and has all of the constraints from
the second collection, prefs
, added as preferences if the
collection is a non-null
value.
InvocationLayerFactory.createInstances
.true
if every fully qualified name that
matches the specified permission's name also matches this
permission's name; returns false
otherwise.
true
if the specified permission is an instance
of AuthenticationPermission
, and every action included in
the specified permission is included as an action of this permission,
and every principal that matches the local principals of the specified
permission also matches the local principals of this permission, and
(if the specified permission has any action besides
listen
) every principal that matches the peer principals
of this permission also matches the peer principals of the specified
permission; returns false
otherwise.
true
if the given permission is a
GrantPermission
implied by this permission, or
false
otherwise.
Policy.implies(java.security.ProtectionDomain, java.security.Permission)
.
Policy.implies(java.security.ProtectionDomain, java.security.Permission)
.
Permission.implies(java.security.Permission)
.
true
if object integrity is being enforced, and
false
otherwise.
proxy
, and returns the result.
method
on the specified remote
object impl
, with the specified arguments.
proxy
, and returns the result.
true
if the instance has no requirements and no
preferences; returns false
otherwise.
true
if a class or resource with the
specified name is preferred for this class loader, and
false
if a class or resource with the specified
name is not preferred for this loader.
true
if the specified invocation
handler is trusted by this trust verifier; returns
false
otherwise.
true
if the specified object is known to be
trusted to correctly implement its contract; returns false
otherwise.
true
if the specified object is a trusted
Jini ERI dynamic proxy or a trusted Jini ERI object endpoint;
returns false
otherwise.
true
if the object is an instance of
KerberosEndpoint
and the SocketFactory
it
uses internally, if not null
, is trusted by the
given TrustVerifier.Context
, or the object is an
instance of KerberosPrincipal
.
true
if the object is an instance of SslEndpoint
or HttpsEndpoint
, and it's SocketFactory
is
either null
or trusted by the specified
TrustVerifier.Context
; or if the object is an instance of
ConfidentialityStrength
or X500Principal
; and returns
false
otherwise.
true
if the specified object is trusted to
correctly implement its contract; returns false
otherwise.
true
if the specified object is known to be
trusted to correctly implement its contract; returns false
otherwise.
true
if the specified object is known to be
trusted to correctly implement its contract; returns false
otherwise.
true
if the specified dynamic proxy interface is
trusted by this verifier; returns false
otherwise.
true
if the transition that triggered
this event was a transition from invisible to
visible as well as a transition from unavailable to
available, and false
otherwise.
JavaSpace05
interface extends the JavaSpace
interface to provide methods that allow clients to
perform batch operations on the space (which are generally more
efficient than performing an equivalent set of singleton
operations) and to more easily develop applications where a
given Entry
needs to be read by multiple clients.
JrmpExporter
contains the information necessary to export a
single remote object to the
JRMP runtime. Endpoint
implementation that uses Kerberos as the
underlying network security protocol to support security related
invocation constraints its caller specified for the corresponding
remote request. ServerEndpoint
implementation that uses Kerberos as the
underlying network security protocol to support security related
invocation constraints for remote requests. KerberosEndpoint
,
and principals of type KerberosPrincipal
. Security.TrustVerifier
for this package.
ListenEndpoint
,
dispatching them to the supplied
RequestDispatcher
in the form of InboundRequest
instances.
RMIClassLoader.loadClass
, optionally verifying that the
codebase URLs provide content integrity.
RMIClassLoaderSpi.loadClass(String,String,ClassLoader)
.
RMIClassLoader.loadProxyClass
, optionally verifying that the
codebase URLs provide content integrity.
RMIClassLoaderSpi.loadProxyClass(String,String[],ClassLoader)
.
ObjectInputStream
that implements the
dynamic class loading semantics of Java(TM) Remote Method
Invocation (Java RMI) argument and result
unmarshalling (using RMIClassLoader
). MarshalInputStream
that reads
marshalled data from the specified underlying
InputStream
.
ObjectOutputStream
that implements the
dynamic class loading semantics of Java(TM) Remote Method Invocation
(Java RMI) argument and result
marshalling (using RMIClassLoader
). MarshalOutputStream
that writes
marshalled data to the specified underlying
OutputStream
.
MarshalledInstance
contains an object in serialized
form. MarshalledInstance
that contains the
marshalled representation of the current state of the supplied
object.
MarshalledInstance
that contains the
marshalled representation of the current state of the supplied
object.
MarshalledInstance
from an
existing MarshalledObject
.
Entry
instances to be incrementally
returned from a JavaSpaces service. Method
to
InvocationConstraints
, used to specify per-method constraints.
ConnectionAbsoluteTime
instance with time obtained
by adding the specified base time argument to the duration value
from this instance.
RelativeTimeConstraint
with the result of invoking that
constraint's makeAbsolute
method with the specified base
time, and invoking the create
method of this class with
the revised collection of constraints.
DelegationAbsoluteTime
instance with times obtained
by adding the specified base time argument to the duration values
from this instance.
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.
RelativeTimeConstraint
replaced by the result of invoking the constraint's
makeAbsolute
method with the current time (as given by
System.currentTimeMillis
).
out
.
method
to
the outgoing request stream, out
.
out
.
throwable
for the specified remote method
to the marshal output stream, out
.
BasicProxyPreparer.methodConstraintsSpecified
is
true
.
BasicProxyPreparer.methodConstraints
when verifying if proxies are
trusted and for setting their constraints.
data
in calls to
getEntry
to specify no data.
defaultValue
in calls to
getEntry
to specify no default value.
Configuration
does
not find a matching entry.Error
.
Exporter
to go inactive, to provide invocation
handlers for exporters that want to use dynamic proxies for
activatable remote objects, and to support trust verification of
secure activatable dynamic proxies and secure activation identifiers.
Configuration
interface for obtaining
objects needed to configure applications, such as Exporter
or ProxyPreparer
instances, or other application-specific objects, from configuration
files, databases, or other sources. MethodConstraints
and a
TrustVerifier
for common constraints.
Exporter
), obtaining a proxy from an exported remote
object (ProxyAccessor
), obtaining the
server-side context information for an executing remote call (ServerContext
), and defining export permissions
(ExportPermission
). Exporter
implementation,
IiopExporter
, that can be used to export
and unexport
RMI-IIOP remote
objects.
ServerContext
and
ObjectStreamContext
.Endpoint
and
ServerEndpoint
abstractions that use HTTP
messages sent over TCP sockets as the underlying communication
mechanism. Endpoint
and ServerEndpoint
that use Kerberos as the underlying
network security protocol to support security related invocation
constraints for remote requests. Endpoint
and ServerEndpoint
that use TLS/SSL and HTTPS (HTTP over
TLS/SSL) to support invocation constraints. Endpoint
and
ServerEndpoint
abstractions that use TCP sockets
as the underlying communication mechanism.
Exporter
implementation,
JrmpExporter
, that can be used to export
and unexport activatable and non-activatable
JRMP remote objects.
RMIClassLoader
. RMIClassLoader
provider implementations that support preferred classes.
OutboundRequestIterator
to use to send
a new remote call to the referenced remote object using the
specified constraints.
The constraints must be the complete, absolute constraints for the remote call, combining any client and server constraints for the remote method being invoked, with no relative time constraints.
For each OutboundRequest
produced by the returned
OutboundRequestIterator
, after writing the request
data and before reading any response data, executeCall
must be invoked to execute the call.
This method first invokes newRequest
on this BasicObjectEndpoint
's
contained Endpoint
with the specified constraints
to obtain an OutboundRequestIterator
.
OutboundRequestIterator
to use to send
a new remote call to the referenced remote object using the
specified constraints.
PreferredClassLoader
that loads classes and resources from the specified path of
URLs and delegates to the specified parent class loader.
PermissionCollection
for storing
AuthenticationPermission
instances.
GrantPermission
instances.
OutboundRequestIterator
to use to send
a new request to this remote endpoint using the specified
constraints.
OutboundRequestIterator
to use to send
a new request for the specified handle to this connection
manager's ConnectionEndpoint
.
OutboundRequestIterator
to use to send
a new request to this remote endpoint using the specified
constraints.
The constraints must be the complete, absolute constraints
for the request.
The returned OutboundRequestIterator
's next
method behaves as follows:
Initiates an attempt to communicate the request to this remote
endpoint.
OutboundRequestIterator
to use to send
a new request to this remote endpoint using the specified
constraints.
The constraints must be the complete, absolute constraints
for the request.
The returned OutboundRequestIterator
's next
method behaves as follows:
Initiates an attempt to communicate the request to this remote
endpoint.
OutboundRequestIterator
to use to send
a new request to this remote endpoint using the specified
constraints.
The constraints must be the complete, absolute constraints
for the request.
The returned OutboundRequestIterator
's next
method behaves as follows:
Initiates an attempt to communicate the request to this remote
endpoint.
OutboundRequestIterator
to use to send
a new request to this remote endpoint using the specified
constraints.
The constraints must be the complete, absolute constraints
for the request.
The returned OutboundRequestIterator
's next
method behaves as follows:
Initiates an attempt to communicate the request to this remote
endpoint.
OutboundRequestIterator
to use to send
a new request to this remote endpoint using the specified
constraints.
The constraints must be the complete, absolute constraints
for the request.
The returned OutboundRequestIterator
's next
method behaves as follows:
Initiates an attempt to communicate the request to this remote
endpoint.
Entry
from the match set and
returns a copy to the caller.
listener
with a RemoteEvent
that
includes the handback
object.
ObjectOutputStream
or ObjectInputStream
instance that implements this interface.
ConnectionEndpoint
. OutboundRequest
instances to use for attempting to
send a particular request to a remote communication endpoint.
PolicyFileProvider
whose starting set of
permission mappings is the same as those that would result from
constructing a new instance of the J2SE default security policy provider
with the current java.security.policy
system property
setting (if any), except that UmbrellaGrantPermission
s are
expanded into GrantPermission
s as described in the
documentation for UmbrellaGrantPermission
.
PolicyFileProvider
whose starting set of
permission mappings is the same as those that would result from
constructing a new instance of the J2SE default security policy provider
with the java.security.policy
system property set to the
value of policyFile
, except that
UmbrellaGrantPermission
s are expanded into
GrantPermission
s as described in the documentation for
UmbrellaGrantPermission
.
PolicyInitializationException
with the
specified detail message and cause.
PreferredClassLoader
that loads
classes and resources from the specified path of URLs and
delegates to the specified parent class loader.
PreferredClassLoader
that loads
classes and resources from the specified path of URLs,
delegates to the specified parent class loader, and uses the
specified URLStreamHandlerFactory
when creating new URL
objects.
RMIClassLoader
provider that supports preferred
classes.
PreferredClassProvider
.
PreferredClassProvider
.
ProxyTrustVerifier
. ProxyTrust
interface. null
class loader.
ProxyTrustVerifier
. TrustVerifier
might be obtained.
getConstraints
, in arbitrary order and with duplicates permitted.
true
if the specified URL is known to provide
content integrity; returns false
otherwise.
true
if the specified URL uses the "file"
protocol and the host is null
, empty, "~", or "localhost";
returns false
otherwise.
true
if the specified URL uses the "httpmd"
protocol; returns false
otherwise.
true
if the specified URL uses the "https"
protocol; returns false
otherwise.
ReferentUuid
.RMIClassLoader
provider that supports preferred
classes and enforces DownloadPermission
.
RequireDlPermProvider
.
Uuid
with the 128-bit value obtained
by unmarshalling a binary representation from the supplied
InputStream
.
null
) that was written by a corresponding
MarshalOutputStream
implementation.
null
if there is currently is none.
Policy.refresh()
.
refresh
on
the base policy.
Entry
transitions from unavailable to available.
Class
object for the stream
class descriptor classDesc
.
Class
object for the proxy
class described by the interface names
interfaceNames
.
getContext
method of the Security
class, which in turn may obtain them from a security manager or
policy provider implementing the
SecurityContextSource
interface.
ServerConnectionManager
.
ServerContext
class contains static methods to
execute some action within an appropriate server context for the
current thread and to obtain the server context for the current thread.
ServerContext.getServerContext()
if no server context
has been explicitly associated with the current thread via a previous
call to ServerContext.doWithServerContext(java.lang.Runnable, java.util.Collection)
.Endpoint
instance to send requests to
those communication endpoints.
ServerEndpoint.enumerateListenEndpoints
to receive the
enumerated ListenEndpoint
instances and to choose an active listen operation for each of
them on behalf of the caller of
enumerateListenEndpoints
.ListenContext.addListenEndpoint
method.ListenEndpoint
.
ProxyTrustIterator
that produces a single object
as the only element of the iteration.Endpoint
that uses TLS/SSL to support
invocation constraints for direct communication over TCP sockets. ServerEndpoint
that uses TLS/SSL to support
invocation constraints for direct communication over TCP sockets. SslEndpoint
, HttpsEndpoint
, and
ConfidentialityStrength
classes. RemoteException
thrown from
a remote call made while attempting to obtain a
TrustVerifier
from the object
returned by the most recent call to next
.
Endpoint
abstraction that uses TCP
sockets (instances of Socket
) for the underlying
communication mechanism.
ServerEndpoint
abstraction that
uses TCP sockets (instances of ServerSocket
) for the
underlying communication mechanism.
Security.verifyObjectTrust
, allowing
the objects that are trusted to be extended.TrustVerifier
instances and Security.verifyObjectTrust
. JavaSpace.take
method that attempts to
remove, optionally under a Transaction
, and return
one or more entries from the space.
null
if there is currently is none.
ConfigurationFile
to
control the ConfigurationException
that is thrown.
AbstractEntry.toString(this)
.
String
representation of its argument
that will contain the name of the argument's class and a
representation of each of the argument's entry fields.
Uuid
.
BasicInvocationHandler
.
BasicObjectEndpoint
.
HttpEndpoint
.
HttpServerEndpoint
.
TcpEndpoint
.
TcpServerEndpoint
.
PolicyFileProvider
as
shorthand for a GrantPermission
covering all permissions authorized to a given protection domain. UmbrellaGrantPermission
.
ConnectIOException
if the constraints for a remote call
cannot be satisfied. Entry
instances when one or more of the entries can't be
unmarshalled. UnusableEntriesException
with
the given message, Collection
of entries that could
be unmarshalled, and Collection
of UnusableEntryException
s, detailing for each unusable
Entry
why it could not be unmarshalled.
Uuid
with the specified 128-bit
value.
Uuid
instances.
export
method of the underlying exporter
supplied during construction of this exporter.
Exporter
such that it will no longer receive remote
method invocations that were made possible as a result of exporting
it with this Exporter
.
IiopExporter.export(java.rmi.Remote)
method such that the object can no longer
accept incoming remote calls that were possible as a result of
exporting via this exporter.
export
method such that incoming remote calls
to the object identifier in this exporter are no longer accepted
through the server endpoint in this exporter.
export
method such that the object can no longer
accept incoming remote calls that were possible as a result of
exporting via this exporter.
method
from the specified marshal input stream, in
, and returns an
Object
array containing the arguments read.
in
, and returns the Method
object
corresponding to that representation.
in
.
in
, and returns the result.
MarshalOutputStream
.
ProxyPreparer
for verifying that proxies are trusted,
dynamically granting permissions to trusted proxies, and optionally
setting the client constraints on trusted proxies.PrivilegedAction
that
wraps the given action, or returns the action itself if the security
context does not include any non-AccessControlContext
state
to restore.
PrivilegedExceptionAction
that wraps the given action, or
returns the action itself if the security context does not include any
non-AccessControlContext
state to restore.
Uuid
to
an OutputStream
.
JavaSpace.write
method that allows new
copies of multiple Entry
instances to be stored in
the space using a single call.
null
) to be read by a corresponding
MarshalInputStream
implementation.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |