static final class TxnMgrAdminProxy.ConstrainableTxnMgrAdminProxy extends TxnMgrAdminProxy implements RemoteMethodControl
TxnMgrAdminProxy.ConstrainableTxnMgrAdminProxy| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
proxyID, server| Modifier | Constructor and Description |
|---|---|
private |
ConstrainableTxnMgrAdminProxy(TxnManager server,
Uuid proxyID,
MethodConstraints methodConstraints)
Constructs a new
ConstrainableTxnMgrAdminProxy
instance. |
| Modifier and Type | Method and Description |
|---|---|
private static TxnManager |
constrainServer(TxnManager 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 (
ConstrainableTxnMgrAdminProxy). |
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
(
ConstrainableTxnMgrAdminProxy) 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 ConstrainableTxnMgrAdminProxy(TxnManager server, Uuid proxyID, MethodConstraints methodConstraints)
ConstrainableTxnMgrAdminProxy
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 TxnManager constrainServer(TxnManager server, MethodConstraints constraints)
public RemoteMethodControl setConstraints(MethodConstraints constraints)
ConstrainableTxnMgrAdminProxy) 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()
ConstrainableTxnMgrAdminProxy).
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.