Typical operations performed by this method include verifying trust in the proxy by calling {@link Security#verifyObjectTrust Security.verifyObjectTrust}, specifying constraints by calling {@link RemoteMethodControl#setConstraints RemoteMethodControl.setConstraints}, and granting the proxy permissions by calling {@link Security#grant Security.grant}.
@param proxy the proxy to prepare
@return the prepared proxy
@throws NullPointerException if the proxy is null
@throws RemoteException if a communication-related exception occurs
@throws SecurityException if a security exception occurs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|