org.openeai.jms.producer
Class ProducerId

java.lang.Object
  extended by org.openeai.OpenEaiObject
      extended by org.openeai.jms.producer.ProducerId

Deprecated. As of OpenEAI version 4.0, replaced by #org.openeai.transport.ProducerId

public class ProducerId
extends OpenEaiObject

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.

Version:
3.0 - 28 January 2003
Author:
Tod Jackson (tod@openeai.org), Steve Wheat (steve@openeai.org)
See Also:
GenericUuid

Field Summary
 
Fields inherited from class org.openeai.OpenEaiObject
logger
 
Constructor Summary
ProducerId()
          Deprecated. Constructor
ProducerId(java.lang.String url)
          Deprecated. 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()
          Deprecated. Returns the UUID associated to this object.
 java.lang.String getUrl()
          Deprecated. Returns the URL from which the UUID will be requested.
 void setId(java.lang.String id)
          Deprecated. Sets the UUID associated to this object.
 void setUrl(java.lang.String url)
          Deprecated. Sets the URL from which the UUID will be requested.
 
Methods inherited from class org.openeai.OpenEaiObject
getAppName, getDebug, getFromAddr, 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

ProducerId

public ProducerId()
Deprecated. 
Constructor


ProducerId

public ProducerId(java.lang.String url)
           throws java.io.IOException
Deprecated. 
This constructor automatically attempts to generate a GenericUuid using the URL passed in and populates itself with that UUID.

Throws:
java.io.IOException
Method Detail

getUrl

public java.lang.String getUrl()
Deprecated. 
Returns the URL from which the UUID will be requested.

Returns:
String

setUrl

public void setUrl(java.lang.String url)
Deprecated. 
Sets the URL from which the UUID will be requested.


getId

public java.lang.String getId()
Deprecated. 
Returns the UUID associated to this object.

Returns:
String the UUID that was generated for this object.

setId

public void setId(java.lang.String id)
Deprecated. 
Sets the UUID associated to this object.

Parameters:
id - String the UUID that was generated for this object.


Copyright © 2002,2003 OpenEAI Software Foundation