|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.start.ProxyVerifier
final class ProxyVerifier
Defines a trust verifier for the smart proxies of a SharedGroup server.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.jini.security.TrustVerifier |
---|
TrustVerifier.Context |
Field Summary | |
---|---|
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 Summary | |
---|---|
ProxyVerifier(SharedGroupBackEnd serverProxy)
Returns a verifier for the smart proxies of the specified SharedGroup server proxy. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
protected static final String START_PROXY
private static final Logger logger
private final RemoteMethodControl serverProxy
Constructor Detail |
---|
ProxyVerifier(SharedGroupBackEnd serverProxy)
serverProxy
- the SharedGroup server proxy
UnsupportedOperationException
- if serverProxy
does
not implement both RemoteMethodControl
and TrustEquivalence
Method Detail |
---|
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 components
true
if the specified object is known to be
trusted to correctly implement its contract; false
otherwise
NullPointerException
- if any argument is null
RemoteException
- if a communication-related exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |