|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DescriptorHandler
Provides a service for obtaining content for a specific descriptor, such as a JAD or JNLP descriptor. The developer will implement a class based upon the format of the descriptor.
| Method Summary | |
|---|---|
java.util.List |
getContentFiles(DescriptorFileType descriptorFileType,
java.util.Map contentMap)
Obtains a List of ContentFiles associated with a descriptor. |
void |
setRepositoryRegistry(org.jvending.registry.RepositoryRegistry repositoryRegistry)
Mutator for RepositoryRegistry |
| Method Detail |
|---|
void setRepositoryRegistry(org.jvending.registry.RepositoryRegistry repositoryRegistry)
RepositoryRegistry
repositoryRegistry -
java.util.List getContentFiles(DescriptorFileType descriptorFileType,
java.util.Map contentMap)
throws StockingException
List of ContentFiles associated with a descriptor. Never returns a null
value for the list. The implementation MUST NOT modify the contentMap. Such events must be handled outside of
a DescriptorHandler context.
descriptorFileType - contentMap - contains descriptors and bundles.
StockingException - the handler is unable to process a valid list of ContentFiles
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||