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:
Hiram R. Chirino 2008-04-18 17:39:33 +00:00
parent b544fc0817
commit 7fed5d871f
1 changed files with 7 additions and 0 deletions

View File

@ -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;
}