org.exolab.jms.server
Interface ServerConnector

All Known Implementing Classes:
RemoteServerConnector

public interface ServerConnector

ServerConnector provides an interface to the OpenJMS server.

Version:
$Revision: 1.2 $ $Date: 2005/06/07 14:33:14 $
Author:
Jim Alateras, Tim Anderson

Method Summary
 void bindConnectionFactories(javax.naming.Context context)
          Bind a factory object specified in the configuration file to the specified JNDI context.
 void close()
          Close the interface, releasing any resources.
 void init()
          Initialise the interface.
 

Method Detail

init

public void init()
          throws ServerException
Initialise the interface.
Throws:
ServerException - if the interface cannot be initialised

bindConnectionFactories

public void bindConnectionFactories(javax.naming.Context context)
                             throws javax.naming.NamingException,
                                    ServerException
Bind a factory object specified in the configuration file to the specified JNDI context.
Parameters:
context - context to bind factory objects
Throws:
javax.naming.NamingException - if a naming error occurs
ServerException - if a server error occurs

close

public void close()
           throws ServerException
Close the interface, releasing any resources.
Throws:
ServerException - if the interface cannot be closed


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.