org.ops4j.pax.wicket.util
Class PageFinder

java.lang.Object
  extended by org.ops4j.pax.wicket.util.PageFinder

public class PageFinder
extends java.lang.Object


Constructor Summary
PageFinder()
           
 
Method Summary
static
<T extends org.apache.wicket.Page>
PageFactory<T>[]
findPages(org.osgi.framework.BundleContext context, java.lang.String applicationName, java.lang.String pageName)
          Returns the page content from the specified context for the specified applicationName and pageName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageFinder

public PageFinder()
Method Detail

findPages

public static <T extends org.apache.wicket.Page> PageFactory<T>[] findPages(org.osgi.framework.BundleContext context,
                                                                            java.lang.String applicationName,
                                                                            java.lang.String pageName)
                                                                 throws java.lang.IllegalArgumentException
Returns the page content from the specified context for the specified applicationName and pageName.

Type Parameters:
T - The page subclass.
Parameters:
context - The bundle context. This argument must not be null.
applicationName - The application name. This argument must not be null or empty.
pageName - The page name. This argument must not be null or empty.
Returns:
The page of the specified applicationName and pageName.
Throws:
java.lang.IllegalArgumentException - Thrown if one or some or all arguments are null or empty.
Since:
1.0.0


Copyright © 2008. All Rights Reserved.