Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.1.0)

E10758-02

oracle.jbo.jbotester.server
Class Server

java.lang.Object
  extended by oracle.jbo.jbotester.server.Server
All Implemented Interfaces:
CommandHandler

public final class Server
extends java.lang.Object
implements CommandHandler

Since:
11
Version:
$Header: bc4jrt/modules/bc4j-tester/src/oracle/jbo/jbotester/server/Server.java /main/4 2009/02/19 07:04:17 rvangri Exp $

Field Summary
static java.lang.String JDEV_PORT
           
static java.lang.String JDEV_RANGE
           
static java.lang.String PORT_PROPERTY
           
 
Method Summary
 java.io.Serializable handleCommand(Agent agent)
           
 void logMessage(java.lang.String msg)
           
static void run(javax.swing.JFrame frame)
          This method is invoked by the tested process as soon as it establishes the (socket) connection.
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT_PROPERTY

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

JDEV_PORT

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

JDEV_RANGE

public static final java.lang.String JDEV_RANGE
See Also:
Constant Field Values
Method Detail

run

public static void run(javax.swing.JFrame frame)
This method is invoked by the tested process as soon as it establishes the (socket) connection. This method then attaches a listener to the frame, waiting for the frame to show. Once shown, the test server is started and the test commands can be processed.

Parameters:
frame -

handleCommand

public java.io.Serializable handleCommand(Agent agent)
Specified by:
handleCommand in interface CommandHandler

terminate

public void terminate()
Specified by:
terminate in interface CommandHandler

logMessage

public void logMessage(java.lang.String msg)
Specified by:
logMessage in interface CommandHandler

Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.1.0)

E10758-02

Copyright © 1997, 2009, Oracle. All rights reserved.