jrun.jms.core.server.intravm
Class IntravmJmsServer

java.lang.Object
  |
  +--jrun.jms.core.server.intravm.IntravmJmsServer
All Implemented Interfaces:
JmsServerIfc

public class IntravmJmsServer
extends java.lang.Object
implements JmsServerIfc


Fields inherited from interface jrun.jms.core.server.JmsServerIfc
Name
 
Constructor Summary
IntravmJmsServer()
           
 
Method Summary
 void bindConnectionFactories(javax.naming.Context context)
          Bind any factory object specified in the configuration file to the specified JNDI context.
protected  Logger getLogger()
          Return a reference to the logger
 void init()
          This method is called to initialise the JMS service.Control returns when the server has exited.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntravmJmsServer

public IntravmJmsServer()
Method Detail

init

public void init()
          throws FailedToInitialiseServerException
This method is called to initialise the JMS service.Control returns when the server has exited. It throws FailedToInitialiseServerException if, for any reason, it cannot start the service.
Specified by:
init in interface JmsServerIfc
Throws:
FailedToInitialiseServerException -  

bindConnectionFactories

public void bindConnectionFactories(javax.naming.Context context)
                             throws FailedToBindFactoriesException
Bind any factory object specified in the configuration file to the specified JNDI context. If there is any error during the process then simply log the error and continue. A failure to bind will not terminate the server.

If it cannot bind the connection factories then an exception is thrown.

Specified by:
bindConnectionFactories in interface JmsServerIfc
Parameters:
context - context to bind factory objects
Throws:
FailedToBindFactoriesException -  

getLogger

protected Logger getLogger()
Return a reference to the logger
Returns:
Logger


Copyright � 2002 Macromedia Corporation. All Rights Reserved.