static final class MailboxAdminProxy.ConstrainableMailboxAdminProxy extends MailboxAdminProxy implements RemoteMethodControl
MailboxAdminProxy.ConstrainableMailboxAdminProxy| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
proxyID, server| Modifier | Constructor and Description |
|---|---|
private |
ConstrainableMailboxAdminProxy(MailboxBackEnd server,
Uuid proxyID,
MethodConstraints methodConstraints)
Constructs a new
ConstrainableMailboxAdminProxy
instance. |
| Modifier and Type | Method and Description |
|---|---|
private static MailboxBackEnd |
constrainServer(MailboxBackEnd server,
MethodConstraints constraints)
Returns a copy of the given server proxy having the client method
constraints that result after the specified method mapping is
applied to the given client method constraints.
|
MethodConstraints |
getConstraints()
Returns the client constraints placed on the current instance
of this proxy class (
ConstrainableMailboxAdminProxy). |
private ProxyTrustIterator |
getProxyTrustIterator()
Returns a proxy trust iterator that is used in
ProxyTrustVerifier to retrieve this object's
trust verifier. |
private void |
readObject(ObjectInputStream s)
Performs various functions related to the trust verification
process for the current instance of this proxy class, as
detailed in the description for this class.
|
RemoteMethodControl |
setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy class
(
ConstrainableMailboxAdminProxy) with its client
constraints set to the specified constraints. |
addLookupAttributes, addLookupGroups, addLookupLocators, create, destroy, equals, getLookupAttributes, getLookupGroups, getLookupLocators, getReferentUuid, hashCode, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocatorsprivate static final long serialVersionUID
private ConstrainableMailboxAdminProxy(MailboxBackEnd server, Uuid proxyID, MethodConstraints methodConstraints)
ConstrainableMailboxAdminProxy
instance.
For a description of all but the methodConstraints
argument (provided below), refer to the description for the
constructor of this class' super class.
methodConstraints - the client method constraints to place on
this proxy (may be null).private static MailboxBackEnd constrainServer(MailboxBackEnd server, MethodConstraints constraints)
public RemoteMethodControl setConstraints(MethodConstraints constraints)
ConstrainableMailboxAdminProxy) with its client
constraints set to the specified constraints. A null
value is interpreted as mapping all methods to empty constraints.setConstraints in interface RemoteMethodControlconstraints - client constraints, or nullRemoteMethodControl.getConstraints()public MethodConstraints getConstraints()
ConstrainableMailboxAdminProxy).
The value returned by this method can be null,
which is interpreted as mapping all methods to empty constraints.getConstraints in interface RemoteMethodControlnullRemoteMethodControl.setConstraints(net.jini.core.constraint.MethodConstraints)private ProxyTrustIterator getProxyTrustIterator()
ProxyTrustVerifier to retrieve this object's
trust verifier.private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException - if any of the
requirements for trust verification (as detailed in the
class description) are not satisfied.IOExceptionClassNotFoundExceptionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.