org.apache.activemq.command
public class BaseEndpoint extends java.lang.Object implements Endpoint
Constructor and Description |
---|
BaseEndpoint(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
BrokerId |
getBrokerId()
Returns the broker ID for this endpoint, if the endpoint is a broker or
null
|
BrokerInfo |
getBrokerInfo()
Returns the broker information for this endpoint, if the endpoint is a
broker or null
|
java.lang.String |
getName()
Returns the name of the endpoint.
|
void |
setBrokerInfo(BrokerInfo brokerInfo) |
java.lang.String |
toString() |
public BaseEndpoint(java.lang.String name)
public java.lang.String getName()
Endpoint
public java.lang.String toString()
toString
in class java.lang.Object
public BrokerId getBrokerId()
getBrokerId
in interface Endpoint
public BrokerInfo getBrokerInfo()
getBrokerInfo
in interface Endpoint
public void setBrokerInfo(BrokerInfo brokerInfo)
setBrokerInfo
in interface Endpoint
Copyright © 2005-2014. All Rights Reserved.