Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model Tester
11g Release 2 (11.1.2.2.0)

E17487-03


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 -

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model Tester
11g Release 2 (11.1.2.2.0)

E17487-03


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