net.artima.place
Class PlaceContext

java.lang.Object
  |
  +--net.artima.place.PlaceContext

public class PlaceContext
extends java.lang.Object

A collection of static methods offered by the client to the place service.


Constructor Summary
PlaceContext()
           
 
Method Summary
static void runResourceWithUI(java.lang.String url)
          Run a resource with a UI.
static net.jini.lookup.entry.UIDescriptor selectUI(net.jini.core.lookup.ServiceItem serviceItem)
          Selects a UI from the UIDescriptors in the passed ServiceItem.
static net.jini.lookup.entry.UIDescriptor selectUI(net.jini.lookup.entry.UIDescriptor[] uiDescriptors)
          Selects a UI from the UIDescriptors in the passed array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaceContext

public PlaceContext()
Method Detail

runResourceWithUI

public static void runResourceWithUI(java.lang.String url)
Run a resource with a UI. This is likely done in a separate VM.

selectUI

public static net.jini.lookup.entry.UIDescriptor selectUI(net.jini.core.lookup.ServiceItem serviceItem)
Selects a UI from the UIDescriptors in the passed ServiceItem.

selectUI

public static net.jini.lookup.entry.UIDescriptor selectUI(net.jini.lookup.entry.UIDescriptor[] uiDescriptors)
Selects a UI from the UIDescriptors in the passed array.