public abstract class CourierPrototype<M extends Serializable> extends Object implements Courier<M>
| 构造器和说明 |
|---|
CourierPrototype(String queue,
String destination,
Type topicType) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
afterTopicAssociation() |
void |
associate(AbstractTopicPrototype<M> topic) |
String |
getDestination() |
Type |
getMessageType() |
String |
getQueue() |
protected AbstractTopicPrototype<M> |
getTopic() |
Type |
getTopicType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeliver, isConsumer, setConsumerprotected abstract void afterTopicAssociation()
public void associate(AbstractTopicPrototype<M> topic)
associate 在接口中 Courier<M extends Serializable>protected AbstractTopicPrototype<M> getTopic()
public Type getTopicType()
public String getDestination()
public String getQueue()
public Type getMessageType()
Copyright © 2021. All rights reserved.