|
||||||||||
| 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 |
Producer |
createProducerInstance()
Create a new producer instance according to the implementation |
boolean |
existsProducer(String id)
Check if a producer with the given ID exists in the registry. |
Iterator<Producer> |
getAllProducers()
Get all producer in the registry |
long |
getLastModifiedTime()
Get the last time that a producer is added or removed |
Producer |
getProducer(String id)
Get the producer for the given URL |
void |
removeAllProducers()
Remove all producer objects from the registry |
Producer |
removeProducer(String id)
Remove the producer with the given ID from the registry |
| Method Detail |
|---|
void addProducer(Producer producer)
producer - The producer to addProducer getProducer(String id)
id - The ID of the producer
Iterator<Producer> getAllProducers()
Producer removeProducer(String id)
id - The ID of the producer
void removeAllProducers()
throws Exception
Exceptionboolean existsProducer(String id)
id - The ID of the producer
Producer createProducerInstance()
long getLastModifiedTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||