|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a registry which can be used to administer producer objects.
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 |
Method Detail |
public void addProducer(Producer producer)
producer
- The producer to addpublic Producer getProducer(java.lang.String id)
id
- The ID of the producer
public java.util.Iterator getAllProducers()
public Producer removeProducer(java.lang.String id)
id
- The ID of the producer
public void removeAllProducers()
public boolean existsProducer(java.lang.String id)
id
- The ID of the producer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |