
Public Member Functions | |
| void | bundleDidLoad (NSNotification n) |
| boolean | didLoad () |
| Loader (String[] argv) | |
Private Member Functions | |
| void | applyIfUnset (Properties bundleProps) |
| void | collectMainProps (String userName) |
| void | debugMsg (String msg) |
| boolean | isSystemJar (String jar) |
| NSBundle | mainBundle () |
| String | propertyFromCommandLineFirst (String key) |
| Properties | readProperties (NSBundle bundle, String name) |
| Properties | readProperties (URL url) |
| Properties | readProperties (File file) |
| String | stringFromJar (String jar, String path) |
Private Attributes | |
| JarChecker | _checker |
| Properties | allBundleProps |
| List< URL > | allBundlePropURLs = new ArrayList<URL>() |
| Set< String > | allFrameworks |
| Properties | defaultProperties |
| Properties | mainProps |
| Properties | mainUserProps |
| List< URL > | urls = new ArrayList<URL>() |
Called prior to actually initializing the app. Defines framework load order, class path order, checks patches etc.
| void applyIfUnset | ( | Properties | bundleProps | ) | [private] |
| void bundleDidLoad | ( | NSNotification | n | ) |
Will be called after each bundle load. We use it to know when the last bundle loaded so we can post a notification for it. Note that the bundles will get loaded in the order of the classpath but the main bundle will get loaded last. So in order to set the properties correctly, we first add all the props that are not already set, then we add the main bundle and the WebObjects.properties and finally the command line props.
| n |
| void collectMainProps | ( | String | userName | ) | [private] |
| void debugMsg | ( | String | msg | ) | [private] |
| boolean didLoad | ( | ) |
| boolean isSystemJar | ( | String | jar | ) | [private] |
| NSBundle mainBundle | ( | ) | [private] |
| Properties readProperties | ( | NSBundle | bundle, | |
| String | name | |||
| ) | [private] |
| Properties readProperties | ( | URL | url | ) | [private] |
| Properties readProperties | ( | File | file | ) | [private] |
JarChecker _checker [private] |
Properties allBundleProps [private] |
List<URL> allBundlePropURLs = new ArrayList<URL>() [private] |
Set<String> allFrameworks [private] |
Holds the framework names during startup
Properties defaultProperties [private] |
Properties mainProps [private] |
Properties mainUserProps [private] |
List<URL> urls = new ArrayList<URL>() [private] |
1.5.8