| java.lang.Object com.rift.coad.daemon.messageservice.named.NamedQueueImpl
NamedQueueImpl | public class NamedQueueImpl implements NamedQueue,ResourceIndex,Resource(Code) | | The implementation of the Queue. This object represents a named database
queue.
author: Brett Chaldecott |
Field Summary | |
protected Logger | log |
Method Summary | |
public void | addService(String service) This method adds a service to the list of services used to identify this
queue, by the service broker. | public Object | getPrimaryKey() This method returns the primary key of this resource to enable
indexing. | public String | getResourceName() This method returns the name of the resource. | public List | listServices() This method returns a list of services used to identify this queue to the
service broker. | public Message | receive(long delay) This method returns a message for processing. | public void | releaseResource() This method will be called to release the resources controlled by
this object. | public void | removeService(String service) This method removes a service from the list of services. |
getPrimaryKey | public Object getPrimaryKey()(Code) | | This method returns the primary key of this resource to enable
indexing.
The primary key of this object. |
getResourceName | public String getResourceName()(Code) | | This method returns the name of the resource.
The string containing the name of the resource. |
releaseResource | public void releaseResource()(Code) | | This method will be called to release the resources controlled by
this object.
Parameters: This - method adds a new resource. |
|
|