|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProducerRegistry
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 |
---|
void addProducer(Producer producer)
producer
- The producer to addProducer getProducer(java.lang.String id)
id
- The ID of the producer
java.util.Iterator getAllProducers()
Producer removeProducer(java.lang.String id)
id
- The ID of the producer
void removeAllProducers()
boolean existsProducer(java.lang.String id)
id
- The ID of the producer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |