org.objectweb.proactive.core.body.rmi
Class SshRmiBodyAdapter
java.lang.Object
org.objectweb.proactive.core.body.BodyAdapter
org.objectweb.proactive.core.body.BodyAdapterImpl
org.objectweb.proactive.core.body.rmi.RmiBodyAdapter
org.objectweb.proactive.core.body.rmi.SshRmiBodyAdapter
- All Implemented Interfaces:
- java.lang.Cloneable, Job, NFEProducer, SecurityEntity, java.io.Serializable, UniversalBody
- public class SshRmiBodyAdapter
- extends RmiBodyAdapter
An RMISSH adapter for a RemoteBody. The Adpater is the generic entry point for remote calls
to a RemoteBody using RMISSH.
This also allows to cache informations, and so to avoid crossing the network when calling some methods.
- Since:
- ProActive 2.2
- Author:
- ProActiveTeam
- See Also:
- smartProxy Pattern.,
Serialized Form
Method Summary |
UniversalBody |
lookup(java.lang.String url)
Looks-up an active object previously registered in a RMI registry. |
Methods inherited from class org.objectweb.proactive.core.body.BodyAdapterImpl |
addNFEListener, changeProxiedBody, construct, createShortcut, disableAC, enableAC, equals, fireNFE, getCertificate, getCertificateEncoded, getEntities, getID, getJobID, getNodeURL, getPolicy, getPublicKey, getRemoteAdapter, hashCode, publicKeyExchange, randomValue, readResolve, receiveFTMessage, receiveReply, receiveRequest, removeImmediateService, removeNFEListener, secretKeyExchange, setImmediateService, setImmediateService, startNewSession, terminate, terminateSession, updateLocation |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SshRmiBodyAdapter
public SshRmiBodyAdapter()
SshRmiBodyAdapter
public SshRmiBodyAdapter(UniversalBody body)
throws ProActiveException
lookup
public UniversalBody lookup(java.lang.String url)
throws java.io.IOException
- Description copied from class:
RmiBodyAdapter
- Looks-up an active object previously registered in a RMI registry. In fact it is the
remote version of the body of an active object that can be registered into the
RMI Registry under a given URL.
- Overrides:
lookup
in class RmiBodyAdapter
- Parameters:
url
- the url the remote Body is registered to
- Returns:
- a UniversalBody
- Throws:
java.io.IOException
- if the remote body cannot be found under the given url
or if the object found is not of type RmiRemoteBody
Copyright 2001-2005 INRIA All Rights Reserved.