org.springframework.richclient.application
Interface PageDescriptorRegistry

All Known Implementing Classes:
BeanFactoryPageDescriptorRegistry

public interface PageDescriptorRegistry

A registry for PageDescriptor definitions.

Author:
Keith Donald, Rogan Dawes

Method Summary
 PageDescriptor getPageDescriptor(String pageDescriptorId)
          Returns the page descriptor with the given identifier, or null if no such descriptor exists in the registry.
 PageDescriptor[] getPageDescriptors()
          Returns an array of all the page descriptors in the registry.
 

Method Detail

getPageDescriptors

PageDescriptor[] getPageDescriptors()
Returns an array of all the page descriptors in the registry.

Returns:
An array of all the page descriptors in the registry. The array may be empty but will never be null.

getPageDescriptor

PageDescriptor getPageDescriptor(String pageDescriptorId)
Returns the page descriptor with the given identifier, or null if no such descriptor exists in the registry.

Parameters:
pageDescriptorId - The id of the page descriptor to be returned.
Returns:
The page descriptor with the given id, or null.
Throws:
IllegalArgumentException - if pageDescriptorId is null.


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.