|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProxyPreparer
Performs operations on a newly unmarshalled remote proxy to prepare it for
use. Typical operations include verifying trust in the proxy by calling
Security.verifyObjectTrust, specifying
constraints by calling RemoteMethodControl.setConstraints, and granting the proxy permissions by
calling Security.grant.
Applications are expected to use instances of this class retrieved from a
Configuration to prepare all remote proxies that they receive in
order to permit configuring how applications handle proxies.
| Method Summary | |
|---|---|
Object |
prepareProxy(Object proxy)
Performs operations on a newly unmarshalled proxy to prepare it for use, returning the prepared proxy, which may or may not be the argument itself. |
| Method Detail |
|---|
Object prepareProxy(Object proxy)
throws RemoteException
Typical operations performed by this method include verifying trust in
the proxy by calling Security.verifyObjectTrust, specifying constraints by calling RemoteMethodControl.setConstraints,
and granting the proxy permissions by calling Security.grant.
proxy - the proxy to prepare
NullPointerException - if the proxy is null
RemoteException - if a communication-related exception occurs
SecurityException - if a security exception occurs
|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||