com.ibm.websphere.samples.beenthere
Class BeenThereEJBEntry

java.lang.Object
  extended by com.ibm.websphere.samples.beenthere.BeenThereEJBEntry
All Implemented Interfaces:
java.io.Serializable

public class BeenThereEJBEntry
extends java.lang.Object
implements java.io.Serializable

This class represents the execution environment information for a single execution instance of the BeenThere EJB.

BeenThereServlet creates a list of these entries, based on the number of EJB interations there were specified upon servlet execution, which is then passed to the BeenThere JSP to display the values for each entry.

See Also:
BeenThereServlet, Serialized Form

Constructor Summary
BeenThereEJBEntry()
          Creates a new BeenThereEJBEntry instance.
 
Method Summary
 long getEJBExecutionTime()
          Gets the execution time of the BeenThere EJB.
 java.lang.String getEJBServerName()
          Gets the name of the EJB server that executed the BeenThere EJB.
 java.lang.String getEJBServerNodeName()
          Gets the node name of the EJB server that executed the BeenThere EJB.
 java.lang.String getEJBServerProcessId()
          Gets the JVM process ID of the EJB server that executed the BeenThere EJB.
 void setEJBExecutionTime(long time)
          Sets the execution time of the BeenThere EJB.
 void setEJBServerName(java.lang.String serverName)
          Sets the name of the EJB server that executed the BeenThere EJB.
 void setEJBServerNodeName(java.lang.String nodeName)
          Sets the node name of EJB server that executed the BeenThere EJB.
 void setEJBServerProcessId(java.lang.String processId)
          Sets the JVM process ID of the EJB server that executed the BeenThere EJB.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeenThereEJBEntry

public BeenThereEJBEntry()
Creates a new BeenThereEJBEntry instance.

Method Detail

setEJBServerNodeName

public void setEJBServerNodeName(java.lang.String nodeName)
Sets the node name of EJB server that executed the BeenThere EJB.

Parameters:
nodeName - the EJB server node name

getEJBServerNodeName

public java.lang.String getEJBServerNodeName()
Gets the node name of the EJB server that executed the BeenThere EJB.

Returns:
the EJB server node name

setEJBServerName

public void setEJBServerName(java.lang.String serverName)
Sets the name of the EJB server that executed the BeenThere EJB.

Parameters:
serverName - the EJB server name

getEJBServerName

public java.lang.String getEJBServerName()
Gets the name of the EJB server that executed the BeenThere EJB.

Returns:
the EJB server name

setEJBServerProcessId

public void setEJBServerProcessId(java.lang.String processId)
Sets the JVM process ID of the EJB server that executed the BeenThere EJB.

Parameters:
processId - the EJB server JVM process ID

getEJBServerProcessId

public java.lang.String getEJBServerProcessId()
Gets the JVM process ID of the EJB server that executed the BeenThere EJB.

Returns:
the EJB server JVM process ID

setEJBExecutionTime

public void setEJBExecutionTime(long time)
Sets the execution time of the BeenThere EJB.

Parameters:
time - the EJB execution time, measured in milliseconds

getEJBExecutionTime

public long getEJBExecutionTime()
Gets the execution time of the BeenThere EJB.

Returns:
a long value representing the EJB execution time, measured in milliseconds