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

E10758-08

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/5 2009/04/29 07:49:33 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)
          Send the agent to the tester, and let it execute its command.
 void logMessage(java.lang.String msg)
          log the messsage.
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)
Send the agent to the tester, and let it execute its command.

Specified by:
handleCommand in interface CommandHandler
Parameters:
agent - an agent to work in the tester's process
Returns:
the agent's result.

terminate

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

logMessage

public void logMessage(java.lang.String msg)
log the messsage.

Specified by:
logMessage in interface CommandHandler
Parameters:
msg -

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

E10758-08

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