IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.sibx.mediation
Interface Terminal

All Known Subinterfaces:
InputTerminal, OutputTerminal

public interface Terminal

Defines a set of common methods for all terminal types. This interface provides access to the terminal name and type. All terminals on a mediation primitive must have a name, which is unique for that type of terminal. Equally, all terminals have display names, which may be user-defined, depending upon the type of mediation primitive with which they are associated.

Terminals may have a particular Type, which is identified by the TerminalType. If a terminal does not have a type, then getTerminalType() will return null so primitive implementations should expect to handle this.


Field Summary
static java.lang.String $sccsid
           
static java.lang.String COPYRIGHT
           
 
Method Summary
 java.lang.String getDisplayName()
          Returns the display name of this terminal.
 java.lang.String getName()
          Returns the name of this terminal.
 TerminalType getType()
          Returns the type of this terminal.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

$sccsid

static final java.lang.String $sccsid
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Returns the name of this terminal.

Returns:
the terminal name

getType

TerminalType getType()
Returns the type of this terminal.

Returns:
the terminal type

getDisplayName

java.lang.String getDisplayName()
Returns the display name of this terminal.

Returns:
the terminal display name

IBM WebSphere Application ServerTM
Release 7