com.bankframe.services.ping
Class PingBean
java.lang.Object
com.bankframe.ejb.ESessionBean
com.bankframe.services.ping.PingBean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, ESession, java.io.Serializable, javax.ejb.SessionBean
- public class PingBean
- extends ESessionBean
The Ping utility is used to confirm that a BankFrame MCA Installation
is working, and that the servlets on the web server are communicating
with the BankFrame MCA EJB container.
This utility should be used when setting up the environment.
It is part of BankFrame MCA and can be executed from a browser or
from the command line using the Java client application available in
this package.
When a request is sent to the Ping EJB, it will respond with a
DataPacket that gives the time of the request and a
message indicating that the deployment environment is live.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
ping()
This method generates a message displaying details about the server. |
java.util.Vector |
processDataPacket(DataPacket data)
This method processes DataPackets. |
java.util.Vector |
processDataPackets(java.util.Vector dataPackets)
This method processes multiple DataPackets. |
Methods inherited from class com.bankframe.ejb.ESessionBean |
audit, ejbActivate, ejbCreate, ejbLoad, ejbPassivate, ejbPostCreate, ejbRemove, ejbStore, getSessionContext, setSessionContext, unsetSessionContext |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PingBean
public PingBean()
ping
public java.lang.String ping()
- This method generates a message displaying details about the server.
- Returns:
- message from the server
processDataPacket
public java.util.Vector processDataPacket(DataPacket data)
throws ProcessingErrorException,
java.rmi.RemoteException
- This method processes DataPackets.
- Specified by:
processDataPacket
in interface ESession
- Specified by:
processDataPacket
in class ESessionBean
- Parameters:
data
- DataPacket to process
- Returns:
- a vector containing response DataPackets
- Throws:
ProcessingErrorException
java.rmi.RemoteException
processDataPackets
public java.util.Vector processDataPackets(java.util.Vector dataPackets)
throws ProcessingErrorException,
java.rmi.RemoteException
- This method processes multiple DataPackets.
- Specified by:
processDataPackets
in interface ESession
- Overrides:
processDataPackets
in class ESessionBean
- Parameters:
dataPackets
- a vector of DataPackets.
- Returns:
- a vector containing response DataPackets
- Throws:
ProcessingErrorException
java.rmi.RemoteException
Copyright © 2005, 2007, Oracle. All rights reserved.