public final class JmsProducerInfo extends Object implements JmsResource, Comparable<JmsProducerInfo>
Constructor and Description |
---|
JmsProducerInfo(JmsProducerId producerId) |
JmsProducerInfo(JmsSessionInfo sessionInfo,
long producerId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(JmsProducerInfo other) |
JmsProducerInfo |
copy() |
void |
copy(JmsProducerInfo info) |
boolean |
equals(Object obj) |
JmsDestination |
getDestination() |
JmsProducerId |
getId()
Returns the assigned resource ID for this JmsResource instance.
|
JmsSessionId |
getParentId() |
int |
hashCode() |
void |
setDestination(JmsDestination destination) |
String |
toString() |
void |
visit(JmsResourceVistor vistor)
Allows a visitor object to walk the resources and process them.
|
public JmsProducerInfo(JmsProducerId producerId)
public JmsProducerInfo(JmsSessionInfo sessionInfo, long producerId)
public JmsProducerInfo copy()
public void copy(JmsProducerInfo info)
public JmsProducerId getId()
JmsResource
getId
in interface JmsResource
public JmsSessionId getParentId()
public JmsDestination getDestination()
public void setDestination(JmsDestination destination)
public int compareTo(JmsProducerInfo other)
compareTo
in interface Comparable<JmsProducerInfo>
public void visit(JmsResourceVistor vistor) throws Exception
JmsResource
visit
in interface JmsResource
vistor
- The visitor instance that is processing this resource.Exception
- if an error occurs while visiting this resource.Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.