|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsrp4j.consumer.driver.GenericProducerRegistryImpl
Constructor Summary | |
GenericProducerRegistryImpl()
|
Method Summary | |
void |
addProducer(Producer producer)
Add a producer to the registry |
boolean |
existsProducer(java.lang.String id)
Check if a producer with the given ID exists in the registry. |
java.util.Iterator |
getAllProducers()
Get all producer in the registry |
Producer |
getProducer(java.lang.String id)
Get the producer for the given URL |
void |
removeAllProducers()
Remove all producer objects from the registry |
Producer |
removeProducer(java.lang.String id)
Remove the producer with the given ID from the registry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GenericProducerRegistryImpl()
Method Detail |
public void addProducer(Producer producer)
addProducer
in interface ProducerRegistry
producer
- The producer to addpublic Producer getProducer(java.lang.String id)
getProducer
in interface ProducerRegistry
id
- The ID of the producer
public java.util.Iterator getAllProducers()
getAllProducers
in interface ProducerRegistry
public Producer removeProducer(java.lang.String id)
removeProducer
in interface ProducerRegistry
id
- The ID of the producer
public void removeAllProducers()
removeAllProducers
in interface ProducerRegistry
public boolean existsProducer(java.lang.String id)
existsProducer
in interface ProducerRegistry
id
- The ID of the producer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |