mirror of https://github.com/apache/activemq.git
Added some additional comments
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b544fc0817
commit
7fed5d871f
|
@ -118,6 +118,10 @@ public class TransportConnector implements Connector, BrokerServiceAware {
|
|||
this.brokerInfo = brokerInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated use the {@link #setBrokerService(BrokerService)} method instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void setBrokerName(String name) {
|
||||
if (this.brokerInfo==null) {
|
||||
|
@ -379,6 +383,9 @@ public class TransportConnector implements Connector, BrokerServiceAware {
|
|||
this.enableStatusMonitor = enableStatusMonitor;
|
||||
}
|
||||
|
||||
/**
|
||||
* This is called by the BrokerService right before it starts the transport.
|
||||
*/
|
||||
public void setBrokerService(BrokerService brokerService) {
|
||||
this.brokerService = brokerService;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue