Keel 2.1RC2

org.keel.comm.jbossmq.server
Class KeelServerBean

java.lang.Object
  extended byorg.keel.comm.jbossmq.server.KeelServerBean

public class KeelServerBean
extends java.lang.Object

Message-Driven EJB implementation of the Keel server. This MDB waits for model requests to arrive via the appropriate JMS queue, then hands them to a KeelJmsServer to handle and answer. You would use either this MDB or the Stand-Alone Keel server for JBossMQ, probably not both

Version:
$Id: KeelServerBean.java,v 1.10 2003/12/29 06:54:09 chatterj Exp $
Author:
Michael Nash

Field Summary
private  int ackMode
           
private  ContainerFactory containerFactory
           
private  Logger logger
           
private static Container myContainer
           
private  java.lang.String myName
           
private  QueueConnection qConnection
           
private  QueueConnectionFactory qFactory
           
private static int servedCount
           
 
Constructor Summary
KeelServerBean()
           
 
Method Summary
 void ejbCreate()
           
 void ejbRemove()
           
 java.lang.String getName()
           
 void onMessage(Message message)
          Whenever a message is received, this method is called.
 void setMessageDrivenContext(MessageDrivenContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myContainer

private static Container myContainer

ackMode

private int ackMode

myName

private java.lang.String myName

logger

private Logger logger

containerFactory

private ContainerFactory containerFactory

servedCount

private static int servedCount

qFactory

private QueueConnectionFactory qFactory

qConnection

private QueueConnection qConnection
Constructor Detail

KeelServerBean

public KeelServerBean()
Method Detail

ejbRemove

public void ejbRemove()

ejbCreate

public void ejbCreate()

getName

public java.lang.String getName()

setMessageDrivenContext

public void setMessageDrivenContext(MessageDrivenContext ctx)

onMessage

public void onMessage(Message message)
Whenever a message is received, this method is called. We run the model, then return a message with the response.


Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.