com.bea.wli.sb.transports.ui
Class TransportUIContext

java.lang.Object
  extended by com.bea.wli.sb.transports.ui.TransportUIContext

public class TransportUIContext
extends Object

An object if this class is used to supply options for transport-provider specific user interface. It is passed by ALSB console to each transport provider


Field Summary
static String ISPROXY
           
static String LOCALE
           
 
Constructor Summary
TransportUIContext()
           
 
Method Summary
 Object get(Object option)
           
 Locale getLocale()
           
 boolean hasOption(Object option)
           
static boolean hasOption(TransportUIContext options, Object option)
           
 boolean isProxy()
           
 TransportUIContext put(Object option)
          sets the option with a given key
 TransportUIContext put(Object option, int value)
          sets the option with a given key to specified value
 TransportUIContext put(Object option, Object value)
          sets the option with a given key to specified value
 void remove(Object option)
          removes the option with a given key
static Object safeGet(TransportUIContext options, Object option)
           
 TransportUIContext setIsProxy(boolean isproxy)
          Sets whether or not the wizard has been invoked with respect to a proxy service definition
 TransportUIContext setLocale(Locale val)
          sets the locale to use when returning labels and tooltips for each field
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOCALE

public static final String LOCALE
See Also:
Constant Field Values

ISPROXY

public static final String ISPROXY
See Also:
Constant Field Values
Constructor Detail

TransportUIContext

public TransportUIContext()
Method Detail

setLocale

public TransportUIContext setLocale(Locale val)
sets the locale to use when returning labels and tooltips for each field


getLocale

public Locale getLocale()
Returns:
the locale to use when returning labels and tooltips for each field

setIsProxy

public TransportUIContext setIsProxy(boolean isproxy)
Sets whether or not the wizard has been invoked with respect to a proxy service definition


isProxy

public boolean isProxy()
Returns:
whether or not the wizard has been invoked with respect to a proxy service definition

hasOption

public boolean hasOption(Object option)
Returns:
whether or not an options with a given key exists

get

public Object get(Object option)
Returns:
the value of an option with a given key

put

public TransportUIContext put(Object option)
sets the option with a given key


put

public TransportUIContext put(Object option,
                              int value)
sets the option with a given key to specified value


put

public TransportUIContext put(Object option,
                              Object value)
sets the option with a given key to specified value


remove

public void remove(Object option)
removes the option with a given key


safeGet

public static Object safeGet(TransportUIContext options,
                             Object option)
Returns:
the value of an option with a given key

hasOption

public static boolean hasOption(TransportUIContext options,
                                Object option)
Returns:
whether or not an option with a specified key exists

toString

public String toString()
Overrides:
toString in class Object
Returns:
stringified view of this TransportUIContext