net.artima.place
Class ServiceURLLink

java.lang.Object
  |
  +--net.artima.place.ServiceURLLink
All Implemented Interfaces:
Link, java.io.Serializable

public final class ServiceURLLink
extends java.lang.Object
implements Link

Represents a URL-based link to a Jini service on the network.

See Also:
Serialized Form

Constructor Summary
ServiceURLLink(java.lang.String url)
          Construct a ServiceURLLink from a String URL .
 
Method Summary
 LinkActivation activate(ActivationClient al)
          Retrieve this service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceURLLink

public ServiceURLLink(java.lang.String url)
               throws java.net.MalformedURLException
Construct a ServiceURLLink from a String URL .
Method Detail

activate

public LinkActivation activate(ActivationClient al)
Retrieve this service. The activate method will return promptly, returning a LinkActivation object that enables clients to abort an activation. Invoking activate again while an activation is currently in progress just starts a new activation independent of the already running one.
Specified by:
activate in interface Link