org.exolab.jms.server.net
Class RemoteServerConnector

java.lang.Object
  |
  +--org.exolab.jms.server.net.RemoteServerConnector
All Implemented Interfaces:
ServerConnector

public class RemoteServerConnector
extends java.lang.Object
implements ServerConnector

Implementation of the ServerConnector interface, that provides remoting via an ORB.

Version:
$Revision: 1.7 $ $Date: 2006/02/23 11:17:40 $
Author:
Tim Anderson

Constructor Summary
RemoteServerConnector(org.exolab.jms.config.types.SchemeType scheme, Configuration config, org.exolab.jms.net.connector.Authenticator authenticator, ServerConnectionFactory factory, AdminConnectionManager manager, NameService names, org.exolab.jms.common.threads.ThreadPoolFactory threads)
          Construct a new RemoteServerConnector.
 
Method Summary
 void bindConnectionFactories(javax.naming.Context context)
          Bind any factory object specified in the configuration file to the specified JNDI context.
 void close()
          Close the interface, releasing any resources.
 void init()
          Initialises the server interface for the specified connector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteServerConnector

public RemoteServerConnector(org.exolab.jms.config.types.SchemeType scheme,
                             Configuration config,
                             org.exolab.jms.net.connector.Authenticator authenticator,
                             ServerConnectionFactory factory,
                             AdminConnectionManager manager,
                             NameService names,
                             org.exolab.jms.common.threads.ThreadPoolFactory threads)
Construct a new RemoteServerConnector.
Parameters:
scheme - the type of the connector to use
config - the server configuration
authenticator - the authenticator for authenticating clients
factory - the factory for ServerConnection instances
names - the name service
threads - the thread pool factory
Method Detail

init

public void init()
          throws ServerException
Initialises the server interface for the specified connector.
Specified by:
init in interface ServerConnector
Throws:
ServerException - if the interface cannot be initialised

bindConnectionFactories

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

close

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


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