net.incongru.berkano.app
Class ApplicationsProvider

java.lang.Object
  extended by net.incongru.berkano.app.ApplicationsProvider

public class ApplicationsProvider
extends java.lang.Object

A simple wrapper around a map of registered applications. The default application will be the first one that was registered, as soon as PICO-243 is fixed.

Version:
$Revision: 1.1 $
Author:
greg, $Author: gj $ (last edit)

Constructor Summary
ApplicationsProvider(Application[] apps)
           
 
Method Summary
 java.util.Collection getAllApps()
           
 Application getApp(java.lang.String appName)
          Never returns null: if the appName param was null, returns the default Application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationsProvider

public ApplicationsProvider(Application[] apps)
Method Detail

getApp

public Application getApp(java.lang.String appName)
Never returns null: if the appName param was null, returns the default Application.


getAllApps

public java.util.Collection getAllApps()


Copyright © 2004-2007. All Rights Reserved.