Skip navigation links

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

E10758-11


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 /st_jdevadf_patchset_ias/1 2013/08/21 14:33:34 spathak Exp $

Field Summary
static java.lang.String JDEV_MODEL_PROJECT_FILE_PATH
           
static java.lang.String JDEV_PORT
           
static java.lang.String JDEV_RANGE
           
static java.lang.String MAX_PERM_SIZE_JAVA_OPTION
           
static java.lang.String PORT_PROPERTY
           
static java.lang.String TESTER_DEFAULT_MAX_PERM_SIZE
           

 

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

JDEV_MODEL_PROJECT_FILE_PATH

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

MAX_PERM_SIZE_JAVA_OPTION

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

TESTER_DEFAULT_MAX_PERM_SIZE

public static final java.lang.String TESTER_DEFAULT_MAX_PERM_SIZE
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 Business Component Browser
11g Release 1 (11.1.1.7.3)

E10758-11


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