jrun.jms.core.server
Interface JmsServerIfc

All Known Implementing Classes:
IpcJmsServer, RmiJmsServer, IntravmJmsServer

public interface JmsServerIfc

This is the interface to the JmsServer. Concrete class must implement this interface. It only has one method, called init.

Version:
$Revision: 1.4 $ $Date: 2001/04/17 13:23:27 $ created by Jim Alateras
See Also:
JmsServer

Field Summary
static java.lang.String Name
          This is the name of the service, if ever it needs to be registered
 
Method Summary
 void bindConnectionFactories(javax.naming.Context context)
          Bind any factory object specified in the configuration file to the specified JNDI context.
 void init()
          This method is called to initialise the JMS service.Control returns when the server has exited.
 

Field Detail

Name

public static final java.lang.String Name
This is the name of the service, if ever it needs to be registered
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.
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.

Parameters:
context - context to bind factory objects
Throws:
FailedToBindFactoriesException -  


Copyright � 2002 Macromedia Corporation. All Rights Reserved.