|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WizardRepository
Location where all instances of Wizards may be retrieved.
Method Summary | |
---|---|
void |
addFactory(Serializable id,
WizardFactory factory)
Adds a factory to the repository. |
Wizard |
find(Serializable id)
Retrieve a wizard based on id. |
List |
list()
Retrieve instances of all wizards stored in the repository. |
void |
removeWizard(Serializable id)
Removes a particular wizard from the repository. |
Method Detail |
---|
Wizard find(Serializable id) throws WizardException
id
- the identification field.
WizardException
- upon repository query or wizard construction
error.List list() throws WizardException
WizardException
- upon listing or construction error.void addFactory(Serializable id, WizardFactory factory)
id
- the unique id of the wizard that we're going to hold.factory
- the factory to use for building new instances of
Wizards
IllegalArgumentException
- if the id already exists.void removeWizard(Serializable id)
id
- the id of the wizard.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |