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.
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 foruniqueName
- A name fragment that's unique to this connectorprotocol
- The protocol the connector should be configured forhost
- The listen host/IP for the connectorport
- 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.