| |
|
| org.apache.wsrp4j.consumer.ProducerRegistry
All known Subclasses: org.apache.wsrp4j.consumer.driver.GenericProducerRegistryImpl,
ProducerRegistry | public interface ProducerRegistry (Code) | | Defines a registry which can be used to administer
producer objects.
author: Stephan Laertz |
addProducer | public void addProducer(Producer producer)(Code) | | Add a producer to the registry
Parameters: producer - The producer to add |
existsProducer | public boolean existsProducer(String id)(Code) | | Check if a producer with the given ID exists in the registry.
Parameters: id - The ID of the producer True if producer exists with this ID |
getAllProducers | public Iterator getAllProducers()(Code) | | Get all producer in the registry
Iterator with all producers |
getProducer | public Producer getProducer(String id)(Code) | | Get the producer for the given URL
Parameters: id - The ID of the producer The producer with the given ID |
removeAllProducers | public void removeAllProducers()(Code) | | Remove all producer objects from the registry
|
removeProducer | public Producer removeProducer(String id)(Code) | | Remove the producer with the given ID from the registry
Parameters: id - The ID of the producer The producer which had been mapped to this id or null if no producer was found with this id |
|
|
|