|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.artima.place.URLLink
Represents a URL-based link to a service on the network.
Constructor Summary | |
URLLink(URLString url)
Construct a URLLink with a URLString . |
|
URLLink(URLString[] urls)
Construct a URLLink with an array of
URLString s. |
Method Summary | |
LinkActivation |
activate(ActivationClient client)
Invokes activationSucceeded() on the passed
ActivationClient , passing to
activationSucceeded() a ServiceItem that
contains a URLFactory service and null
references for the ServiceID and attributes set (the
Entry array). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLLink(URLString url)
URLLink
with a URLString
.url
- the URL to be contained in the URLFactory
produced when this link is activated.NullPointerException
- if passed url
reference is
null
public URLLink(URLString[] urls)
URLLink
with an array of
URLString
s.urls
- the URLs, in order, to be contained in the
URLFactory
produced when this link is activated.NullPointerException
- if passed urls
array is
null
java.lang.IllegalArgumentException
- if passed urls
array is
emptyMethod Detail |
public LinkActivation activate(ActivationClient client)
activationSucceeded()
on the passed
ActivationClient
, passing to
activationSucceeded()
a ServiceItem
that
contains a URLFactory
service and null
references for the ServiceID
and attributes set (the
Entry
array).activate
in interface Link
client
- the ActivationClient
that will notified
when this link activation completesLinkActivation
object with which the client
can interact with this activation of this link.NullPointerException
- if passed client
is
null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |