final class ProxyVerifier extends Object implements TrustVerifier, Serializable
TrustVerifier.Context
Modifier and Type | Field and Description |
---|---|
private static Logger |
logger
Logger for logging information about this instance
|
private static long |
serialVersionUID |
private RemoteMethodControl |
serverProxy
The SharedGroup server proxy.
|
protected static String |
START_PROXY
Logger and configuration component name for SharedGroup
|
Constructor and Description |
---|
ProxyVerifier(SharedGroupBackEnd serverProxy)
Returns a verifier for the smart proxies of the specified SharedGroup
server proxy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTrustedObject(Object obj,
TrustVerifier.Context ctx)
Returns
true if the specified object is known to be
trusted to correctly implement its contract; returns false
otherwise. |
private static final long serialVersionUID
protected static final String START_PROXY
private static final Logger logger
private final RemoteMethodControl serverProxy
ProxyVerifier(SharedGroupBackEnd serverProxy)
serverProxy
- the SharedGroup server proxyUnsupportedOperationException
- if serverProxy
does
not implement both RemoteMethodControl
and TrustEquivalence
public boolean isTrustedObject(Object obj, TrustVerifier.Context ctx) throws RemoteException
TrustVerifier
true
if the specified object is known to be
trusted to correctly implement its contract; returns false
otherwise.isTrustedObject
in interface TrustVerifier
obj
- the object in which to verify trustctx
- the trust verifier context, to aid in verification of
the specified object and its componentstrue
if the specified object is known to be
trusted to correctly implement its contract; false
otherwiseNullPointerException
- if any argument is null
RemoteException
- if a communication-related exception occursCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.