org.apache.geronimo.management.geronimo
Interface JMSManager

All Superinterfaces:
NetworkManager
All Known Subinterfaces:
ActiveMQManager
All Known Implementing Classes:
ActiveMQManagerGBean

public interface JMSManager
extends NetworkManager

Main entry point for managing a particular JMS implementation. The manager has features to access JMS brokers (aka servers or containers) as well as JMS connectors (aka network listeners). Each manager should handle all the brokers and connectors for a single JMS implementation; if the Geronimo server has multiple JMS implementations available then there should be one JMSManager instance for each.


Method Summary
 JMSConnector addConnector(JMSBroker broker, String uniqueName, String protocol, String host, int port)
          Creates a new connector, and returns the ObjectName for it.
 
Methods inherited from interface org.apache.geronimo.management.geronimo.NetworkManager
getConnectors, getConnectors, getConnectorsForContainer, getConnectorsForContainer, getContainers, getProductName, getSupportedProtocols, removeConnector
 

Method Detail

addConnector

JMSConnector addConnector(JMSBroker broker,
                          String uniqueName,
                          String protocol,
                          String host,
                          int port)
Creates a new connector, and returns the ObjectName for it. Note that the connector may well require further customization before being fully functional (e.g. SSL settings for a secure connector).

Parameters:
broker - The broker to add the connector for
uniqueName - A name fragment that's unique to this connector
protocol - The protocol the connector should be configured for
host - The listen host/IP for the connector
port - The listen port for the connector
Returns:
The newly added connector. It will be valid (loaded) but not started.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.