|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.openeai.OpenEaiObject
|
+--org.openeai.jms.producer.ProducerId
This object is used by the PointToPoint and PubSub producers to uniquely identify each producer. The ProducerId is populated with a GenericUuid which requests a UUID remotely or generates one locally if a remote request cannot be successfully generated. This occurs when the producer is first initialized.
GenericUuid| Field Summary |
| Fields inherited from class org.openeai.OpenEaiObject |
logger |
| Constructor Summary | |
ProducerId()
Constructor |
|
ProducerId(java.lang.String url)
This constructor automatically attempts to generate a GenericUuid using the URL passed in and populates itself with that UUID. |
|
| Method Summary | |
java.lang.String |
getId()
Returns the UUID associated to this object. |
java.lang.String |
getUrl()
Returns the URL from which the UUID will be requested. |
void |
setId(java.lang.String id)
Sets the UUID associated to this object. |
void |
setUrl(java.lang.String url)
Sets the URL from which the UUID will be requested. |
| Methods inherited from class org.openeai.OpenEaiObject |
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProducerId()
public ProducerId(java.lang.String url)
throws java.io.IOException
| Method Detail |
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getId()
public void setId(java.lang.String id)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||